[vim] Add a diagnostics init module to customize diagnostic message floats
This commit is contained in:
parent
95081a31a3
commit
4a35b3a79d
2 changed files with 16 additions and 0 deletions
|
@ -56,6 +56,7 @@ vim.cmd [[
|
|||
]]
|
||||
|
||||
require "configuration"
|
||||
require 'diagnostics'
|
||||
require "lsp"
|
||||
|
||||
local colors = require 'colors'
|
||||
|
|
15
config/nvim/lua/diagnostics.lua
Normal file
15
config/nvim/lua/diagnostics.lua
Normal 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 = '',
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue