avoid using global function : lspconfig
This commit is contained in:
parent
49c809b6be
commit
b2ec48ef30
@ -90,7 +90,7 @@ lspinstall.post_install_hook = function()
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- replace the default lsp diagnostic symbols
|
-- 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 })
|
vim.fn.sign_define("LspDiagnosticsSign" .. name, { text = icon, numhl = "LspDiagnosticsDefaul" .. name })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user