feat(statusline): add Neovim updating status indicator with custom icon
This commit is contained in:
@@ -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"),
|
||||
|
||||
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user