improvements

This commit is contained in:
Chris 2021-03-27 01:03:58 -04:00
parent 7d99055333
commit 373ce12422
4 changed files with 17 additions and 2 deletions

View file

@ -58,4 +58,5 @@ require('lsp.html-ls')
require('lsp.efm-general-ls')
require('lsp.virtual_text')
-- vim.lsp.callbacks["textDocument/publishDiagnostics"] = function() end
-- vim.lsp.handlers["textDocument/publishDiagnostics"] = nil

View file

@ -1,2 +1,11 @@
local nv_options = {}
DATA_PATH = vim.fn.stdpath('data')
CACHE_PATH = vim.fn.stdpath('cache')
python = {
linter = nil,
}
return nv_options

View file

@ -7,5 +7,5 @@ vim.g.indent_blankline_show_current_context = true
vim.g.indent_blankline_context_patterns = {
'class', 'return', 'function', 'method', '^if', '^while', 'jsx_element', '^for', '^object', '^table', 'block',
'arguments', 'if_statement', 'else_clause', 'jsx_element', 'jsx_self_closing_element', 'try_statement',
'catch_clause', 'import_statement'
'catch_clause', 'import_statement', 'operation_type'
}

View file

@ -1,8 +1,13 @@
require'nvim-treesitter.configs'.setup {
ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
-- TODO seems to be broken
ignore_install = { "haskell" },
highlight = {
enable = true -- false will disable the whole extension
enable = true, -- false will disable the whole extension
},
indent = {
enable = true
},
playground = {
enable = true,
disable = {},