|
@@ -3,14 +3,21 @@ O = {
|
|
|
auto_complete = true,
|
|
|
colorscheme = 'nvcode',
|
|
|
hidden_files = true,
|
|
|
- wrap_lines = true,
|
|
|
+ wrap_lines = false,
|
|
|
number = true,
|
|
|
relative_number = true,
|
|
|
shell = 'bash',
|
|
|
- database = {
|
|
|
- save_location = '~/.config/nvcode_db',
|
|
|
- auto_execute = 1
|
|
|
+
|
|
|
+ -- @usage pass a table with your desired languages
|
|
|
+ treesitter = {
|
|
|
+ ensure_installed = "all",
|
|
|
+ ignore_install = {"haskell"},
|
|
|
+ highlight = {enabled = true},
|
|
|
+ playground = {enabled = true},
|
|
|
+ rainbow = {enabled = false}
|
|
|
},
|
|
|
+
|
|
|
+ database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
|
|
|
python = {
|
|
|
linter = '',
|
|
|
-- @usage can be 'yapf', 'black'
|
|
@@ -19,9 +26,7 @@ O = {
|
|
|
isort = false,
|
|
|
diagnostics = {virtual_text = true, signs = true, underline = true}
|
|
|
},
|
|
|
- dart = {
|
|
|
- sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
|
|
|
- },
|
|
|
+ dart = {sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'},
|
|
|
lua = {
|
|
|
-- @usage can be 'lua-format'
|
|
|
formatter = '',
|
|
@@ -50,12 +55,8 @@ O = {
|
|
|
autoformat = false,
|
|
|
diagnostics = {virtual_text = true, signs = true, underline = true}
|
|
|
},
|
|
|
- tailwindls = {
|
|
|
- filetypes = {'html', 'css', 'scss', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact'}
|
|
|
- },
|
|
|
- clang = {
|
|
|
- diagnostics = {virtual_text = true, signs = true, underline = true}
|
|
|
- }
|
|
|
+ tailwindls = {filetypes = {'html', 'css', 'scss', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact'}},
|
|
|
+ clang = {diagnostics = {virtual_text = true, signs = true, underline = true}}
|
|
|
-- css = {formatter = '', autoformat = false, virtual_text = true},
|
|
|
-- json = {formatter = '', autoformat = false, virtual_text = true}
|
|
|
}
|