diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index 3e7c572..db62e7d 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -50,21 +50,8 @@ return { -- Diagnostics --- - local sign = function(opts) - vim.fn.sign_define(opts.name, { - texthl = opts.name, - text = opts.text, - numhl = '' - }) - end - - sign({ name = 'DiagnosticSignError', text = '✘' }) - sign({ name = 'DiagnosticSignWarn', text = '▲' }) - sign({ name = 'DiagnosticSignHint', text = '⚑' }) - sign({ name = 'DiagnosticSignInfo', text = '' }) - vim.diagnostic.config({ - virtual_text = false, + virtual_text = true, severity_sort = true, float = { border = 'rounded',