updated lsp version, added copy to clipboard keybind

This commit is contained in:
2025-05-23 23:34:29 +05:00
parent 97e5f06a61
commit c42731619c
12 changed files with 65 additions and 304 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