From f0c20713d1f5493907c878184e424a385d7f42cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Fri, 29 Apr 2022 13:18:21 +0200 Subject: [PATCH] Added the popout window to see diagnostic --- .config/nvim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 5bcfe01..3d5ae5e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -282,8 +282,13 @@ cmp.setup.cmdline('/', { { name = 'buffer' } } }) + EOF +" Added popout window to see diagnostic +set updatetime=250 +autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"}) + " Neoformat let g:neoformat_try_formatprg = 1 let g:neoformat_basic_format_trim = 1