summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua30
1 files changed, 15 insertions, 15 deletions
diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
index b371704..49b430a 100644
--- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
+++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua
@@ -51,6 +51,15 @@ return {
},
},
lualine_b = {
+ {
+ function()
+ local ok, neocomposer = pcall(require, "NeoComposer.ui")
+ if ok and neocomposer and neocomposer.status_recording then
+ return neocomposer.status_recording()
+ end
+ return ""
+ end,
+ },
"branch",
{
"diff",
@@ -85,7 +94,12 @@ return {
info = "DiagnosticInfo", -- Changes diagnostics' info color.
hint = "DiagnosticHint", -- Changes diagnostics' hint color.
},
- symbols = { error = "E", warn = "W", info = "I", hint = "H" },
+ symbols = {
+ error = " ",
+ warn = " ",
+ info = " ",
+ hint = " ",
+ },
colored = true, -- Displays diagnostics status in color if set to true.
update_in_insert = true, -- Update diagnostics in insert mode.
always_visible = false, -- Show diagnostics even if there are none.
@@ -93,20 +107,6 @@ 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)