diff options
Diffstat (limited to 'lua/config/diagnostic.lua')
| -rw-r--r-- | lua/config/diagnostic.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lua/config/diagnostic.lua b/lua/config/diagnostic.lua index 7d56f1c..67465ae 100644 --- a/lua/config/diagnostic.lua +++ b/lua/config/diagnostic.lua @@ -1,9 +1,9 @@ -vim.diagnostic.config({ - virtual_text = false, -}) +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 = "" }) + local hl = "DiagnosticSign" .. type + vim.fn.sign_define(hl, { text = icon, texthl = hl, numhl = "" }) end |