summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-14 12:09:59 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-14 12:09:59 +0900
commit63956db482b42e2d062412182e17f4b54f6cb27b (patch)
treeb57a5ef512dfc5e5cde1b50085f58af01f784186 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
parent68e7cac703579c7ea034b5fcf1a36d54ea3d62f3 (diff)
modified plugins/lualine.lua, modified utils/utils.lua, created plugins/macro.lua
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
index e9323b5..b371704 100644
--- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
+++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
@@ -93,6 +93,20 @@ return {
},
lualine_c = {
{
+ function()
+ local has_neocomposer, noice = pcall(require, "NeoComposer")
+ if has_neocomposer then
+ return require("NeoComposer.ui").status_recording
+ else
+ return ""
+ end
+ end,
+ cond = function()
+ local has_neocomposer, noice = pcall(require, "NeoComposer")
+ return has_neocomposer
+ end,
+ },
+ {
"filename",
file_status = true, -- Displays file status (readonly status, modified status)
newfile_status = true, -- Display new file status (new file means no write after created)