Remove border on diagnostic windows

This commit is contained in:
Yorick Barbanneau 2022-08-07 00:07:21 +02:00
parent 6faace4a0c
commit 1bb7cba58f

View file

@ -53,7 +53,7 @@ end
-- You will likely want to reduce updatetime which affects CursorHold
-- note: this setting is global and should be set only once
vim.o.updatetime = 250
vim.cmd [[autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {scope='cursor', border = "single", header = "", prefix = "", focus=false})]]
vim.cmd [[autocmd! CursorHold,CursorHoldI * lua vim.diagnostic.open_float(nil, {scope='cursor', header = "", prefix = "", focus=false})]]
-- Autotype
vim.cmd('au BufRead,BufNewFile *.md setlocal textwidth=80')