diff --git a/after/plugin/defaults.lua b/after/plugin/defaults.lua index 7ef2233f..5c8db5a1 100644 --- a/after/plugin/defaults.lua +++ b/after/plugin/defaults.lua @@ -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 diff --git a/init.lua b/init.lua index 5a027769..08537543 100644 --- a/init.lua +++ b/init.lua @@ -175,7 +175,7 @@ require('lazy').setup({ -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart -- These are some example plugins that I've included in the kickstart repository. -- Uncomment any of the lines below to enable them. - -- require 'kickstart.plugins.autoformat', + require 'kickstart.plugins.autoformat', -- require 'kickstart.plugins.debug', -- NOTE: The import below automatically adds your own plugins, configuration, etc from `lua/custom/plugins/*.lua`