From 3e87924df99f8def1d0bc643a1d4bf1d178cd964 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Mon, 6 Dec 2021 15:00:49 +0000 Subject: Better wrap this --- metals.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/metals.vim b/metals.vim index f741203..435ed40 100644 --- a/metals.vim +++ b/metals.vim @@ -42,11 +42,10 @@ 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 }) 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 -- cgit v1.2.3