about summary refs log tree commit diff
path: root/fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-28 08:48:12 +0900
committersefidel <contact@sefidel.net>2022-02-28 08:48:12 +0900
commit909cce24a63be445a642171bb807faa1aff21a0a (patch)
tree720dbb99825dab89f601e613525af449ba5f61fe /fnl
parent1f44d163e8132e6a9647b2ed6aedbe1671061bb2 (diff)
downloadnvimrc-909cce24a63be445a642171bb807faa1aff21a0a.tar.gz
nvimrc-909cce24a63be445a642171bb807faa1aff21a0a.zip
feat(ui): use correct hl groups
Diffstat (limited to 'fnl')
-rw-r--r--fnl/nvrc/ui/modules/vi_mode.fnl6
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)