aboutsummaryrefslogtreecommitdiff
path: root/lsp.lua
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 /lsp.lua
parent2fcb29864ca20c166c73583db7d55add9fbbc948 (diff)
downloaddotnvim-4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2.tar.gz
dotnvim-4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2.zip
Not doing go anymore
Diffstat (limited to 'lsp.lua')
-rw-r--r--lsp.lua14
1 files changed, 0 insertions, 14 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()