diff options
Diffstat (limited to 'fnl/nvrc/ui/statusline.fnl')
-rw-r--r-- | fnl/nvrc/ui/statusline.fnl | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/fnl/nvrc/ui/statusline.fnl b/fnl/nvrc/ui/statusline.fnl index 9c6d04c..c50bc81 100644 --- a/fnl/nvrc/ui/statusline.fnl +++ b/fnl/nvrc/ui/statusline.fnl @@ -2,25 +2,20 @@ (import-macros {: ag! : au!} :nvrc.macro.event) -(local {: mode : update-mode-colors} (require :nvrc.ui.modules.vi_mode)) (local {: diagnostics} (require :nvrc.ui.modules.diagnostics)) -(local {: file-size} (require :nvrc.ui.modules.misc)) (global statusline {}) (set statusline.enable (fn [] - (table.concat ["%#StatusLinePad#" + (table.concat ["%#StatusLineAccent#" "▊ " "%#StatusLine#" - (update-mode-colors) - (mode) - "%#StatusLineFile#" + "%#StatusLineAccentBold#" "%f%m%r " "%#StatusLine#" - (file-size) "%l:%c | " (diagnostics) "%=" - "%#StatusLineFileData#" + "%#StatusLineAccentBold#" "%y *%n "]))) (ag! ui-statusline |