aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-12-06 13:24:59 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:30 +0100
commit4d604ca6f83c5925c752b4f39e2083319f4d5592 (patch)
tree1a6f3812e91595af2468c6a44b1dc84cd5cd40df
parent4a884a2857111553a277584314b52e7e506e03d4 (diff)
downloaddotnvim-4d604ca6f83c5925c752b4f39e2083319f4d5592.tar.gz
dotnvim-4d604ca6f83c5925c752b4f39e2083319f4d5592.zip
No virtual text, please
-rw-r--r--metals.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/metals.vim b/metals.vim
index 15ef8d4..5a6ae6b 100644
--- a/metals.vim
+++ b/metals.vim
@@ -43,6 +43,9 @@ if has('nvim-0.5')
augroup end
endif
+" virtual text is not too useful
+:lua vim.diagnostic.config({ virtual_text = false })
+
" Helpful general settings
"
autocmd FileType scala setlocal omnifunc=v:lua.vim.lsp.omnifunc