2021-05-26 01:08:15 +02:00
|
|
|
CONFIG_PATH = vim.fn.stdpath('config')
|
|
|
|
DATA_PATH = vim.fn.stdpath('data')
|
|
|
|
CACHE_PATH = vim.fn.stdpath('cache')
|
|
|
|
|
2021-03-27 06:59:28 +01:00
|
|
|
O = {
|
2021-03-28 09:52:09 +02:00
|
|
|
auto_close_tree = 0,
|
2021-03-27 06:59:28 +01:00
|
|
|
auto_complete = true,
|
2021-04-15 06:17:48 +02:00
|
|
|
colorscheme = 'lunar',
|
2021-04-01 10:33:02 +02:00
|
|
|
hidden_files = true,
|
2021-04-03 21:59:03 +02:00
|
|
|
wrap_lines = false,
|
2021-04-01 10:33:02 +02:00
|
|
|
number = true,
|
2021-03-30 08:17:40 +02:00
|
|
|
relative_number = true,
|
2021-06-26 20:08:40 +02:00
|
|
|
cursorline = true,
|
2021-03-30 21:15:38 +02:00
|
|
|
shell = 'bash',
|
2021-05-29 08:49:59 +02:00
|
|
|
timeoutlen = 100,
|
|
|
|
nvim_tree_disable_netrw = 0,
|
|
|
|
extras = false,
|
2021-04-03 21:59:03 +02:00
|
|
|
|
|
|
|
-- @usage pass a table with your desired languages
|
|
|
|
treesitter = {
|
|
|
|
ensure_installed = "all",
|
|
|
|
ignore_install = {"haskell"},
|
|
|
|
highlight = {enabled = true},
|
|
|
|
playground = {enabled = true},
|
|
|
|
rainbow = {enabled = false}
|
2021-03-31 16:45:46 +02:00
|
|
|
},
|
2021-04-03 21:59:03 +02:00
|
|
|
|
|
|
|
database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
|
2021-03-27 08:49:27 +01:00
|
|
|
python = {
|
|
|
|
linter = '',
|
2021-03-28 20:53:00 +02:00
|
|
|
-- @usage can be 'yapf', 'black'
|
2021-03-27 08:49:27 +01:00
|
|
|
formatter = '',
|
|
|
|
autoformat = false,
|
2021-03-27 22:21:52 +01:00
|
|
|
isort = false,
|
2021-05-03 22:39:03 +02:00
|
|
|
diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true},
|
2021-05-03 22:37:12 +02:00
|
|
|
analysis = {type_checking = "basic", auto_search_paths = true, use_library_code_types = true}
|
2021-03-27 08:49:27 +01:00
|
|
|
},
|
2021-04-03 21:59:03 +02:00
|
|
|
dart = {sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'},
|
2021-03-28 09:52:09 +02:00
|
|
|
lua = {
|
2021-03-28 09:58:56 +02:00
|
|
|
-- @usage can be 'lua-format'
|
2021-03-28 09:52:09 +02:00
|
|
|
formatter = '',
|
|
|
|
autoformat = false,
|
2021-05-03 22:39:03 +02:00
|
|
|
diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
|
2021-03-28 09:52:09 +02:00
|
|
|
},
|
2021-03-27 22:21:52 +01:00
|
|
|
sh = {
|
2021-03-28 09:58:56 +02:00
|
|
|
-- @usage can be 'shellcheck'
|
2021-03-27 22:21:52 +01:00
|
|
|
linter = '',
|
2021-03-28 09:58:56 +02:00
|
|
|
-- @usage can be 'shfmt'
|
2021-03-27 22:21:52 +01:00
|
|
|
formatter = '',
|
|
|
|
autoformat = false,
|
2021-05-03 22:39:03 +02:00
|
|
|
diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
|
2021-03-27 22:21:52 +01:00
|
|
|
},
|
|
|
|
tsserver = {
|
2021-03-28 09:58:56 +02:00
|
|
|
-- @usage can be 'eslint'
|
2021-03-27 22:21:52 +01:00
|
|
|
linter = '',
|
2021-03-28 09:58:56 +02:00
|
|
|
-- @usage can be 'prettier'
|
2021-03-27 22:21:52 +01:00
|
|
|
formatter = '',
|
|
|
|
autoformat = false,
|
2021-05-03 22:39:03 +02:00
|
|
|
diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
|
2021-03-27 22:21:52 +01:00
|
|
|
},
|
2021-03-28 09:58:56 +02:00
|
|
|
json = {
|
|
|
|
-- @usage can be 'prettier'
|
|
|
|
formatter = '',
|
|
|
|
autoformat = false,
|
2021-05-03 22:39:03 +02:00
|
|
|
diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
|
2021-04-01 09:29:52 +02:00
|
|
|
},
|
2021-04-03 21:59:03 +02:00
|
|
|
tailwindls = {filetypes = {'html', 'css', 'scss', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact'}},
|
2021-05-03 22:39:03 +02:00
|
|
|
clang = {diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}},
|
2021-04-16 19:12:08 +02:00
|
|
|
ruby = {
|
2021-05-03 22:39:03 +02:00
|
|
|
diagnostics = {virtualtext = {spacing = 0, prefix = ""}, signs = true, underline = true},
|
2021-04-16 19:12:08 +02:00
|
|
|
filetypes = {'rb', 'erb', 'rakefile'}
|
2021-05-05 04:02:55 +02:00
|
|
|
},
|
2021-05-25 00:01:24 +02:00
|
|
|
go = {},
|
2021-03-27 22:21:52 +01:00
|
|
|
-- css = {formatter = '', autoformat = false, virtual_text = true},
|
|
|
|
-- json = {formatter = '', autoformat = false, virtual_text = true}
|
2021-05-05 04:02:55 +02:00
|
|
|
|
|
|
|
dashboard = {
|
|
|
|
custom_header = {
|
|
|
|
' _..._ ',
|
|
|
|
' .\' (_`. _ __ ___ ',
|
|
|
|
' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
|
|
|
|
' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
|
|
|
|
' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
|
|
|
|
' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|',
|
|
|
|
},
|
|
|
|
footer= {'chrisatmachine.com'}
|
|
|
|
}
|
2021-03-27 06:03:58 +01:00
|
|
|
}
|
|
|
|
|