diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-08-12 11:46:26 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-08-12 11:46:26 +0100 |
commit | 4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2 (patch) | |
tree | 7bc19ea426848ab622b2d4b895819638480ca440 | |
parent | 2fcb29864ca20c166c73583db7d55add9fbbc948 (diff) | |
download | dotnvim-4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2.tar.gz dotnvim-4f7d0a65c38dba5bc063b9eee1ae46f945ccd6f2.zip |
Not doing go anymore
-rw-r--r-- | lsp.lua | 14 | ||||
-rw-r--r-- | treesitter.lua | 2 |
2 files changed, 1 insertions, 15 deletions
@@ -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" }, |