avoid using global function : lspconfig

This commit is contained in:
siduck76 2021-08-23 16:06:02 +05:30
parent 49c809b6be
commit b2ec48ef30
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ lspinstall.post_install_hook = function()
end
-- replace the default lsp diagnostic symbols
function lspSymbol(name, icon)
local function lspSymbol(name, icon)
vim.fn.sign_define("LspDiagnosticsSign" .. name, { text = icon, numhl = "LspDiagnosticsDefaul" .. name })
end