feat(statusline): add Neovim updating status indicator with custom icon

This commit is contained in:
2024-09-14 01:28:13 -04:00
parent 35e9c0a010
commit b6e3fb4965
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
return { -- Neovim Updater
"rootiest/nvim-updater.nvim",
lazy = false,
config = function()
require("nvim_updater").setup({
source_dir = vim.fn.expand("~/.local/src/neovim"),
+15
View File
@@ -154,6 +154,21 @@ return { -- Lualine
{ -- PrettyPath
LazyVim.lualine.pretty_path(),
padding = { left = 0, right = 0 },
cond = function()
return vim.bo.filetype ~= "neovim_updater_term"
end,
},
{ -- Neovim Updater
function()
return "Neovim Updating.."
end,
icon = "󰅢 ",
color = "lualine_a_terminal",
separator = { left = "", right = "" },
padding = { left = 0, right = 0 },
cond = function()
return vim.bo.filetype == "neovim_updater_term"
end,
},
},
lualine_x = {