LunarVim/lua/default-config.lua

213 lines
6.4 KiB
Lua
Raw Normal View History

2021-06-28 06:36:29 +02:00
CONFIG_PATH = vim.fn.stdpath('config')
DATA_PATH = vim.fn.stdpath('data')
CACHE_PATH = vim.fn.stdpath('cache')
O = {
auto_close_tree = 0,
auto_complete = true,
colorscheme = 'lunar',
hidden_files = true,
wrap_lines = false,
number = true,
relative_number = true,
cursorline = true,
shell = 'bash',
timeoutlen = 100,
nvim_tree_disable_netrw = 0,
extras = false,
ignore_case = true,
smart_case = true,
2021-06-28 06:36:29 +02:00
-- @usage pass a table with your desired languages
treesitter = {
ensure_installed = "all",
ignore_install = {"haskell"},
highlight = {enabled = true},
rainbow = {enabled = false}
},
database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
2021-06-28 08:37:33 +02:00
plugin = {
hop = {active = false},
dial = {active = false},
dashboard = {active = false},
2021-06-28 18:45:45 +02:00
matchup = {active = false},
colorizer = {active = false},
2021-06-28 18:56:05 +02:00
numb = {active = false},
2021-06-28 22:28:32 +02:00
zen = {active = false},
2021-06-28 19:11:37 +02:00
ts_playground = {active = false},
2021-06-28 19:52:49 +02:00
indent_line = {active = false},
2021-06-28 22:28:32 +02:00
ts_context_commentstring = {active = false},
symbol_outline = {active = false},
debug = {active = false},
bqf = {active = false},
trouble = {active = false},
floatterm = {active = false},
spectre = {active = false},
lsp_rooter = {active = false},
markdown_preview = {active = false},
codi = {active = false},
telescope_fzy = {active = false},
sanegx = {active = false},
2021-06-30 00:55:01 +02:00
ranger = {active = false},
2021-06-28 22:28:32 +02:00
todo_comments = {active = false},
lsp_colors = {active = false},
git_blame = {active = false},
2021-06-29 00:04:54 +02:00
gist = {active = false},
2021-06-28 22:28:32 +02:00
gitlinker = {active = false},
2021-06-29 00:01:34 +02:00
lazygit = {active = false},
octo = {active = false},
diffview = {active = false},
bracey = {active = false},
2021-06-28 22:28:32 +02:00
telescope_project = {active = false}
2021-06-28 08:37:33 +02:00
},
2021-06-28 07:46:25 +02:00
2021-06-28 06:36:29 +02:00
lang = {
python = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
linter = '',
-- @usage can be 'yapf', 'black'
formatter = '',
autoformat = false,
isort = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
},
analysis = {
type_checking = "basic",
auto_search_paths = true,
use_library_code_types = true
}
},
dart = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
},
lua = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'lua-format'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
sh = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'shellcheck'
linter = '',
-- @usage can be 'shfmt'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
tsserver = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'eslint'
linter = '',
-- @usage can be 'prettier'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
json = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
-- @usage can be 'prettier'
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
2021-06-28 07:06:37 +02:00
tailwindcss = {
active = false,
2021-06-28 06:36:29 +02:00
filetypes = {
'html', 'css', 'scss', 'javascript', 'javascriptreact',
'typescript', 'typescriptreact'
}
},
clang = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
ruby = {
2021-06-28 07:06:37 +02:00
active = false,
2021-06-28 06:36:29 +02:00
diagnostics = {
virtualtext = {spacing = 0, prefix = ""},
signs = true,
underline = true
},
filetypes = {'rb', 'erb', 'rakefile'}
},
2021-06-28 07:06:37 +02:00
go = {active = false},
2021-06-29 23:48:21 +02:00
elixir = {active = false},
2021-06-28 07:06:37 +02:00
vim = {active = false},
yaml = {active = false},
terraform = {active = false},
rust = {
active = false,
linter = '',
formatter = '',
autoformat = false,
diagnostics = {
virtual_text = {spacing = 0, prefix = ""},
signs = true,
underline = true
}
},
2021-06-28 07:06:37 +02:00
svelte = {active = false},
php = {active = false},
latex = {active = false},
kotlin = {active = false},
html = {active = false},
elm = {active = false},
emmet = {active = false},
graphql = {active = false},
efm = {active = true},
docker = {active = false},
cmake = {active = false},
java = {active = false},
css = {
active = false,
2021-06-28 07:46:25 +02:00
formatter = '',
autoformat = false,
virtual_text = true
}
2021-06-28 06:36:29 +02:00
},
dashboard = {
custom_header = {
' _..._ ',
' .\' (_`. _ __ ___ ',
' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
},
footer = {'chrisatmachine.com'}
}
}