[nvim] fix: lsp hints in signbar

This commit is contained in:
David JULIEN 2022-05-31 17:21:29 +02:00
parent 6bdf71567f
commit 12182ea487

View File

@ -15,7 +15,7 @@ local signs = {
Info = globals.sign_info,
}
for type, icon in ipairs(signs) do
for type, icon in pairs(signs) do
local hl = "DiagnosticSign" .. type
vim.fn.sign_define(hl, {
text = icon,
@ -57,7 +57,6 @@ end
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
-- Setup nvim-lsp-installer
local servers = { "clangd", "sumneko_lua", "texlab" }
lsp_installer.setup {
ensure_installed = servers,