refactor(nvim): remove invalid priority assignment in lspSymbol

This commit is contained in:
Price Hiller 2024-02-20 17:39:41 -06:00
parent 82f65bc4ed
commit 3e4d1f63ec
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -1,15 +1,14 @@
local M = {}
M.setup = function()
local function lspSymbol(name, icon, priority)
local function lspSymbol(name, icon)
local hl = "DiagnosticSign" .. name
vim.fn.sign_define(hl, { text = icon, numhl = hl, texthl = hl, priority = priority })
vim.fn.sign_define(hl, { text = icon, numhl = hl, texthl = hl })
end
lspSymbol("Error", "󰅙", 20)
lspSymbol("Warn", "", 15)
lspSymbol("Info", "󰋼", 10)
lspSymbol("Hint", "", 10)
lspSymbol("Error", "󰅙")
lspSymbol("Warn", "")
lspSymbol("Info", "󰋼")
lspSymbol("Hint", "")
vim.diagnostic.config({
virtual_text = false,