From 511dabde0f7e6f34e9d287dbd98debed0f8599d1 Mon Sep 17 00:00:00 2001 From: Fabio Lenherr / DashieTM Date: Mon, 20 Feb 2023 22:04:49 +0100 Subject: [PATCH] feat: add gopls --- nvim/lua/settings/lsp.lua | 3 ++- nvim/lua/settings/treesitter.lua | 19 +------------------ 2 files changed, 3 insertions(+), 19 deletions(-) diff --git a/nvim/lua/settings/lsp.lua b/nvim/lua/settings/lsp.lua index 8df412d..c1641d1 100644 --- a/nvim/lua/settings/lsp.lua +++ b/nvim/lua/settings/lsp.lua @@ -27,7 +27,8 @@ require("mason-lspconfig").setup({ "asm_lsp", -- assembly "tsserver", -- js and ts "ltex", -- latex - "jdtls" -- jafuck + "jdtls", -- jafuck + "gopls" -- yet another gargabe collector }, automatic_installation = true, }) diff --git a/nvim/lua/settings/treesitter.lua b/nvim/lua/settings/treesitter.lua index e611e90..4812874 100644 --- a/nvim/lua/settings/treesitter.lua +++ b/nvim/lua/settings/treesitter.lua @@ -5,24 +5,7 @@ end require("nvim-treesitter.configs").setup({ -- A list of parser names, or "all" - ensure_installed = { - "latex", - "c", - "cpp", - "rust", - "lua", - "haskell", - "java", - "javascript", - "typescript", - "python", - "html", - "css", - "yaml", - "bash", - "json", - "c_sharp", - }, + ensure_installed = "all", highlight = { enable = true, additional_vim_regex_highlighting = false,