diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-03-02 23:03:40 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-05-29 22:57:31 +0100 |
commit | 91699cf1ec6e00cfa1e2da3dbc04ecd2da3334d2 (patch) | |
tree | 743b99dd0b3510d0b0febbeffff01d9d2a76e7f7 | |
parent | 1fb53f52d42859fe9d9d2fd8927e69194bd9b1b4 (diff) | |
download | dotnvim-91699cf1ec6e00cfa1e2da3dbc04ecd2da3334d2.tar.gz dotnvim-91699cf1ec6e00cfa1e2da3dbc04ecd2da3334d2.zip |
Put this conf in the right file
-rw-r--r-- | lsp.lua | 3 | ||||
-rw-r--r-- | metals.vim | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -66,6 +66,9 @@ for lsp, settings in pairs(servers) do } 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.formatting_seq_sync()]]) @@ -45,8 +45,6 @@ if has('nvim-0.5') au! au FileType scala,sbt lua require('metals').initialize_or_attach(metals_config) augroup end - " virtual text is not too useful - :lua vim.diagnostic.config({ virtual_text = false, signs = true }) endif " Helpful general settings |