disable treesitter indent for c/c++, update lua lsp name
This commit is contained in:
parent
15c6db350f
commit
0636ab2d2c
4
init.lua
4
init.lua
@ -145,7 +145,7 @@ require('nvim-treesitter.configs').setup {
|
||||
ensure_installed = { 'c', 'cpp', 'rust', 'go', 'lua', 'python', 'rust', 'typescript', 'help', 'vim' },
|
||||
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true, disable = { 'python' } },
|
||||
indent = { enable = true, disable = { 'python', 'c', 'cpp' } },
|
||||
incremental_selection = {
|
||||
enable = true,
|
||||
keymaps = {
|
||||
@ -214,7 +214,7 @@ local servers = {
|
||||
rust_analyzer = {},
|
||||
-- tsserver = {},
|
||||
|
||||
sumneko_lua = {
|
||||
lua_ls = {
|
||||
Lua = {
|
||||
workspace = { checkThirdParty = false },
|
||||
telemetry = { enable = false },
|
||||
|
Loading…
x
Reference in New Issue
Block a user