From 6ae5d4dc1757ef10a311423b3d3f3397219fab1c Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 7 Mar 2023 23:13:58 -0600 Subject: [PATCH] refactor(nvim): remove useless variable from lsp symbol function --- .../primary/config/lua/core/lsp.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/dots/.nvim-environments/primary/config/lua/core/lsp.lua b/dots/.nvim-environments/primary/config/lua/core/lsp.lua index 922c3e9d..974fa5ea 100644 --- a/dots/.nvim-environments/primary/config/lua/core/lsp.lua +++ b/dots/.nvim-environments/primary/config/lua/core/lsp.lua @@ -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" },