aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-08-12 11:46:26 +0100
committerJuan J. Martinez <jjm@usebox.net>2023-08-12 11:46:26 +0100
commit4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2 (patch)
tree7bc19ea426848ab622b2d4b895819638480ca440
parent2fcb29864ca20c166c73583db7d55add9fbbc948 (diff)
downloaddotnvim-4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2.tar.gz
dotnvim-4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2.zip
Not doing go anymore
-rw-r--r--lsp.lua14
-rw-r--r--treesitter.lua2
2 files changed, 1 insertions, 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 <lang> 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" },