avoid using global function : lspconfig
This commit is contained in:
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…
Reference in New Issue