nvim lazy plugin management part 2

This commit is contained in:
2025-07-15 16:25:52 +05:00
parent 0d1b98f65e
commit 386d50d7ce
21 changed files with 318 additions and 347 deletions

View File

@ -0,0 +1,30 @@
local M = {}
M.setup = function()
local config = {
virtual_text = true,
signs = {
text = {
[vim.diagnostic.severity.ERROR] = '',
[vim.diagnostic.severity.WARN] = '',
[vim.diagnostic.severity.HINT] = '',
[vim.diagnostic.severity.INFO] = '',
}
},
update_in_insert = true,
underline = true,
severity_sort = true,
float = {
focusable = true,
style = "minimal",
border = "rounded",
source = "always",
header = "",
prefix = "",
},
}
vim.diagnostic.config(config)
end
return M