diff options
Diffstat (limited to 'lua/config/diagnostic.lua')
| -rw-r--r-- | lua/config/diagnostic.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/config/diagnostic.lua b/lua/config/diagnostic.lua new file mode 100644 index 0000000..7d56f1c --- /dev/null +++ b/lua/config/diagnostic.lua @@ -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 |