about summary refs log tree commit diff
path: root/fnl/nvrc/ui/statusline.fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-03-06 20:44:10 +0900
committersefidel <contact@sefidel.net>2022-03-06 20:44:10 +0900
commitf98bb630c4bc3562749ffe6b5d18c6a06955af36 (patch)
treecc8cd0d8798ed04d2d855040993c6eef352d6968 /fnl/nvrc/ui/statusline.fnl
parent5186760ef60dd0e16431125d9474e3d8d76eccba (diff)
downloadnvimrc-f98bb630c4bc3562749ffe6b5d18c6a06955af36.tar.gz
nvimrc-f98bb630c4bc3562749ffe6b5d18c6a06955af36.zip
feat!: UI rewrite
Diffstat (limited to 'fnl/nvrc/ui/statusline.fnl')
-rw-r--r--fnl/nvrc/ui/statusline.fnl11
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