1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-01 19:49:25 +00:00

[neovim] Add lsp-progress to lualine

This commit is contained in:
2022-11-06 20:34:46 +01:00
parent fd62f58949
commit b00b4f22f3
2 changed files with 9 additions and 9 deletions

View File

@ -47,7 +47,7 @@ end
local venv = function()
local venv = os.getenv("VIRTUAL_ENV")
if venv then
return string.format("  %s", string.match(venv, "[^/]+$"))
return string.format(" %s", string.match(venv, "[^/]+$"))
end
return ""
@ -74,8 +74,8 @@ lualine.setup({
},
sections = {
lualine_a = { "mode" },
lualine_b = { "branch" },
lualine_c = { diagnostics, venv, { "filename", path = 3 }, "lsp_progress" },
lualine_b = { "branch", venv },
lualine_c = { diagnostics, { "filename", path = 3 }, "searchcount", "lsp_progress" },
lualine_x = {
{ gitblame.get_current_blame_text, cond = gitblame.is_blame_text_available },
diff,