avoid using global function : lspconfig

pull/350/head
siduck76 3 years ago
parent 49c809b6be
commit b2ec48ef30

@ -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

Loading…
Cancel
Save