From 0636ab2d2c2f2cf861976fca60a61253da39f8d7 Mon Sep 17 00:00:00 2001 From: Akos Horvath Date: Tue, 14 Feb 2023 20:21:13 +0100 Subject: [PATCH] disable treesitter indent for c/c++, update lua lsp name --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 8d14161..73d9f46 100644 --- a/init.lua +++ b/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 },