my demo first config lua
This commit is contained in:
9
current_config/lua/config/diagnostic.lua
Normal file
9
current_config/lua/config/diagnostic.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
vim.diagnostic.config {
|
||||
virtual_text = false,
|
||||
}
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user