diff options
Diffstat (limited to 'fnl/nvrc')
-rw-r--r-- | fnl/nvrc/ui/modules/vi_mode.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/nvrc/ui/modules/vi_mode.fnl b/fnl/nvrc/ui/modules/vi_mode.fnl index 1b9f1a1..0fd4e16 100644 --- a/fnl/nvrc/ui/modules/vi_mode.fnl +++ b/fnl/nvrc/ui/modules/vi_mode.fnl @@ -25,10 +25,10 @@ (fn update-mode-colors [] (let [current-mode (. (vim.api.nvim_get_mode) :mode)] - (var mode-color "%#StatuslineAccent#") - (if (= current-mode :n) (set mode-color "%#StatuslineAccent#") + (var mode-color "%#StatusLineAccent#") + (if (= current-mode :n) (set mode-color "%#StatusLineAccent#") (or (= current-mode :i) (= current-mode :ic)) - (set mode-color "%#StatuslineInsertAccent#") + (set mode-color "%#StatusLineInsertAccent#") (or (or (= current-mode :v) (= current-mode :V)) (= current-mode "\022")) (set mode-color "%#StatusLineVisualAccent#") (= current-mode :R) |