[vim] Add a diagnostics init module to customize diagnostic message floats

This commit is contained in:
Eryn Wells 2024-03-08 08:34:45 -08:00
parent 95081a31a3
commit 4a35b3a79d
2 changed files with 16 additions and 0 deletions

View file

@ -56,6 +56,7 @@ vim.cmd [[
]]
require "configuration"
require 'diagnostics'
require "lsp"
local colors = require 'colors'

View file

@ -0,0 +1,15 @@
-- Eryn Wells <eryn@erynwells.me>
vim.diagnostic.config {
virtual_text = false,
signs = true,
update_in_insert = true,
underline = true,
severity_sort = false,
float = {
border = 'rounded',
source = 'always',
header = '',
prefix = '',
},
}