From 909cce24a63be445a642171bb807faa1aff21a0a Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 28 Feb 2022 08:48:12 +0900 Subject: feat(ui): use correct hl groups --- fnl/nvrc/ui/modules/vi_mode.fnl | 6 +++--- 1 file 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) -- cgit 1.4.1