Added the popout window to see diagnostic

This commit is contained in:
Marcin Woźniak 2022-04-29 13:18:21 +02:00
parent 09b415812d
commit f0c20713d1

View File

@ -282,8 +282,13 @@ cmp.setup.cmdline('/', {
{ name = 'buffer' } { name = 'buffer' }
} }
}) })
EOF EOF
" Added popout window to see diagnostic
set updatetime=250
autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {focus=false, scope="cursor"})
" Neoformat " Neoformat
let g:neoformat_try_formatprg = 1 let g:neoformat_try_formatprg = 1
let g:neoformat_basic_format_trim = 1 let g:neoformat_basic_format_trim = 1