With fidget.nvim there's no need for statusline lsp info

This commit is contained in:
Kenneth Benzie 2024-03-16 22:38:01 +00:00
parent f9825d9b69
commit 2a6b777949

View File

@ -92,10 +92,6 @@ local function generic(group, name, show_lsp)
.. '%#StatusLineDark#' .. '%#StatusLineDark#'
.. '%{&readonly ? " 🔒" : ""}' .. '%{&readonly ? " 🔒" : ""}'
.. '%{&modifiable ? "" : " ⛔"}' .. '%{&modifiable ? "" : " ⛔"}'
-- FIXME: if show_lsp and vim.fn.exists('*coc#status') then
-- -- Display LSP status.
-- line = line .. '%#StatusLineDuskFade#%( %{coc#status()}%)'
-- end
-- Display filetype if set. -- Display filetype if set.
line = line .. '%=' .. '%#StatusLineDark# %{&filetype} ' line = line .. '%=' .. '%#StatusLineDark# %{&filetype} '
-- Display fileencoding if not utf-8 and fileformat if not unix with dusk -- Display fileencoding if not utf-8 and fileformat if not unix with dusk