[nvim] fix: lsp hints in signbar
This commit is contained in:
parent
6bdf71567f
commit
12182ea487
@ -15,7 +15,7 @@ local signs = {
|
|||||||
Info = globals.sign_info,
|
Info = globals.sign_info,
|
||||||
}
|
}
|
||||||
|
|
||||||
for type, icon in ipairs(signs) do
|
for type, icon in pairs(signs) do
|
||||||
local hl = "DiagnosticSign" .. type
|
local hl = "DiagnosticSign" .. type
|
||||||
vim.fn.sign_define(hl, {
|
vim.fn.sign_define(hl, {
|
||||||
text = icon,
|
text = icon,
|
||||||
@ -57,7 +57,6 @@ end
|
|||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
capabilities = require("cmp_nvim_lsp").update_capabilities(capabilities)
|
||||||
|
|
||||||
-- Setup nvim-lsp-installer
|
|
||||||
local servers = { "clangd", "sumneko_lua", "texlab" }
|
local servers = { "clangd", "sumneko_lua", "texlab" }
|
||||||
lsp_installer.setup {
|
lsp_installer.setup {
|
||||||
ensure_installed = servers,
|
ensure_installed = servers,
|
||||||
|
Reference in New Issue
Block a user