feat: add gopls

This commit is contained in:
Fabio Lenherr / DashieTM 2023-02-20 22:04:49 +01:00
parent 5c646250a7
commit 511dabde0f
2 changed files with 3 additions and 19 deletions

View file

@ -27,7 +27,8 @@ require("mason-lspconfig").setup({
"asm_lsp", -- assembly "asm_lsp", -- assembly
"tsserver", -- js and ts "tsserver", -- js and ts
"ltex", -- latex "ltex", -- latex
"jdtls" -- jafuck "jdtls", -- jafuck
"gopls" -- yet another gargabe collector
}, },
automatic_installation = true, automatic_installation = true,
}) })

View file

@ -5,24 +5,7 @@ end
require("nvim-treesitter.configs").setup({ require("nvim-treesitter.configs").setup({
-- A list of parser names, or "all" -- A list of parser names, or "all"
ensure_installed = { ensure_installed = "all",
"latex",
"c",
"cpp",
"rust",
"lua",
"haskell",
"java",
"javascript",
"typescript",
"python",
"html",
"css",
"yaml",
"bash",
"json",
"c_sharp",
},
highlight = { highlight = {
enable = true, enable = true,
additional_vim_regex_highlighting = false, additional_vim_regex_highlighting = false,