init: initial commit

This commit is contained in:
ITQ
2026-03-08 16:23:50 +03:00
commit 02476899b4
22 changed files with 2257 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
local signs = {
Error = "",
Warn = "",
Hint = "",
Info = "",
}
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" })
end
vim.diagnostic.config({
virtual_text = { spacing = 2, prefix = "" },
signs = true,
underline = true,
update_in_insert = false,
severity_sort = true,
float = { border = "rounded", source = "if_many" },
})