From 4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 12 Aug 2023 11:46:26 +0100 Subject: Not doing go anymore --- lsp.lua | 14 -------------- treesitter.lua | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/lsp.lua b/lsp.lua index 16a25b8..b8a4f5e 100644 --- a/lsp.lua +++ b/lsp.lua @@ -60,16 +60,6 @@ local servers = { } } }, - gopls = { - gopls = { - analyses = { - unusedparams = true, - unusedwrite = true, - shadow = true, - }, - staticcheck = true, - }, - }, hls = { hls = {}, }, @@ -91,10 +81,6 @@ end -- virtual text is not too useful vim.diagnostic.config({ virtual_text = false, signs = true }) --- for go --- install gopls with: go install golang.org/x/tools/gopls@latest -vim.cmd([[autocmd BufWritePre *.go :lua vim.lsp.buf.format()]]) - -- for trouble require("trouble").setup() diff --git a/treesitter.lua b/treesitter.lua index 4cb6c63..f8ee657 100644 --- a/treesitter.lua +++ b/treesitter.lua @@ -2,7 +2,7 @@ -- -- use :TSInstall to install languages -- --- go, scala, c & cpp, python, comment, ... +-- scala, c & cpp, python, comment, ... -- require'nvim-treesitter.configs'.setup { ensure_installed = { "scala", "c", "cpp", "python", "comment", "haskell" }, -- cgit v1.2.3