diff options
Diffstat (limited to 'lua/nv-globals.lua')
| -rw-r--r-- | lua/nv-globals.lua | 27 | 
1 files changed, 14 insertions, 13 deletions
| diff --git a/lua/nv-globals.lua b/lua/nv-globals.lua index 212415b4..bae0e9db 100644 --- a/lua/nv-globals.lua +++ b/lua/nv-globals.lua @@ -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}  } | 
