diff options
author | sefidel <contact@sefidel.net> | 2022-02-28 08:48:12 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2022-02-28 08:48:12 +0900 |
commit | 909cce24a63be445a642171bb807faa1aff21a0a (patch) | |
tree | 720dbb99825dab89f601e613525af449ba5f61fe | |
parent | 1f44d163e8132e6a9647b2ed6aedbe1671061bb2 (diff) | |
download | nvimrc-909cce24a63be445a642171bb807faa1aff21a0a.tar.gz nvimrc-909cce24a63be445a642171bb807faa1aff21a0a.zip |
feat(ui): use correct hl groups
-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) |