1
0
Fork 0
mirror of https://github.com/CompeyDev/my-nvim-setup.git synced 2025-04-10 01:30:53 +01:00

statusline add lsp status

This commit is contained in:
siduck76 2021-08-26 10:59:37 +05:30
parent 21b2680e56
commit 2f2389a31b

View file

@ -175,8 +175,10 @@ components.left.active[11] = {
components.right.active[1] = {
provider = function()
if lsp.is_lsp_attached then
if next(vim.lsp.buf_get_clients()) ~= nil then
return " " .. "" .. " LSP"
else
return ""
end
end,
hl = { fg = colors.grey_fg2, bg = colors.statusline_bg },