summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
diff options
context:
space:
mode:
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)