refactor(nvim): remove useless variable from lsp symbol function

This commit is contained in:
Price Hiller 2023-03-07 23:13:58 -06:00
parent 7f5f3a66f1
commit 6ae5d4dc17
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -1,15 +1,15 @@
local M = {}
M.setup = function()
local function lspSymbol(name, icon, linehlbg)
local function lspSymbol(name, icon)
local hl = "DiagnosticSign" .. name
vim.fn.sign_define(hl, { text = icon, numhl = hl, texthl = hl, linehl = linehl })
vim.fn.sign_define(hl, { text = icon, numhl = hl, texthl = hl })
end
lspSymbol("Error", "", "#2d202a")
lspSymbol("Warn", "", "#2e2a2d")
lspSymbol("Info", "", "#192b38")
lspSymbol("Hint", "", "#1a2b32")
lspSymbol("Error", "")
lspSymbol("Warn", "")
lspSymbol("Info", "")
lspSymbol("Hint", "")
local border = {
{ "", "FloatBorder" },