diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-16 08:32:11 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-16 08:32:11 +0900 |
| commit | ff3f4e6291ac5cb5a7bee513b4baa630c1e75ef0 (patch) | |
| tree | 28674134170d280e1df7f6aa62aec8e0b8664926 | |
| parent | 84779c2d5d5923fb54df16c8dc429df1abfa87b7 (diff) | |
modified plugins/lualine.lua
| -rw-r--r-- | ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/lualine.lua | 30 |
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) |
