defaults update

This commit is contained in:
Neeraj 2023-02-28 16:54:24 +05:30
parent b272268f79
commit 926eccb1c4
2 changed files with 8 additions and 1 deletions

View file

@ -105,3 +105,10 @@ vim.o.hidden = true
-- Copy paste between vim and everything else
vim.o.clipboard = "unnamedplus"
-- diagnostic symbols
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 = hl })
end