mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-09-01 08:15:20 +02:00
improvements
This commit is contained in:
parent
7d99055333
commit
373ce12422
4 changed files with 17 additions and 2 deletions
1
init.lua
1
init.lua
|
@ -58,4 +58,5 @@ require('lsp.html-ls')
|
||||||
require('lsp.efm-general-ls')
|
require('lsp.efm-general-ls')
|
||||||
require('lsp.virtual_text')
|
require('lsp.virtual_text')
|
||||||
|
|
||||||
|
-- vim.lsp.callbacks["textDocument/publishDiagnostics"] = function() end
|
||||||
-- vim.lsp.handlers["textDocument/publishDiagnostics"] = nil
|
-- vim.lsp.handlers["textDocument/publishDiagnostics"] = nil
|
||||||
|
|
|
@ -1,2 +1,11 @@
|
||||||
|
local nv_options = {}
|
||||||
|
|
||||||
DATA_PATH = vim.fn.stdpath('data')
|
DATA_PATH = vim.fn.stdpath('data')
|
||||||
CACHE_PATH = vim.fn.stdpath('cache')
|
CACHE_PATH = vim.fn.stdpath('cache')
|
||||||
|
|
||||||
|
python = {
|
||||||
|
linter = nil,
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
return nv_options
|
||||||
|
|
|
@ -7,5 +7,5 @@ vim.g.indent_blankline_show_current_context = true
|
||||||
vim.g.indent_blankline_context_patterns = {
|
vim.g.indent_blankline_context_patterns = {
|
||||||
'class', 'return', 'function', 'method', '^if', '^while', 'jsx_element', '^for', '^object', '^table', 'block',
|
'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',
|
'arguments', 'if_statement', 'else_clause', 'jsx_element', 'jsx_self_closing_element', 'try_statement',
|
||||||
'catch_clause', 'import_statement'
|
'catch_clause', 'import_statement', 'operation_type'
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
ensure_installed = "all", -- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||||
|
-- TODO seems to be broken
|
||||||
|
ignore_install = { "haskell" },
|
||||||
highlight = {
|
highlight = {
|
||||||
enable = true -- false will disable the whole extension
|
enable = true, -- false will disable the whole extension
|
||||||
},
|
},
|
||||||
|
indent = {
|
||||||
|
enable = true
|
||||||
|
},
|
||||||
playground = {
|
playground = {
|
||||||
enable = true,
|
enable = true,
|
||||||
disable = {},
|
disable = {},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue