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