about summary refs log tree commit diff
path: root/fnl/nvrc
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc')
-rw-r--r--fnl/nvrc/statusline.fnl3
1 files changed, 2 insertions, 1 deletions
diff --git a/fnl/nvrc/statusline.fnl b/fnl/nvrc/statusline.fnl
index 76efd45..c49d992 100644
--- a/fnl/nvrc/statusline.fnl
+++ b/fnl/nvrc/statusline.fnl
@@ -1,3 +1,4 @@
+(import-macros {: vlua} :nvrc.macro.toolkit)
 (import-macros {: setl!} :nvrc.macro.set)
 (import-macros {: ag!
                 : au!} :nvrc.macro.event)
@@ -37,5 +38,5 @@
                                         "%y "])))
 
 (ag! ui-statusline
-  (au! [WinEnter BufEnter] * #(setl! statusline "%!v:lua.statusline.enable()"))
+  (au! [WinEnter BufEnter] * #(setl! statusline (.. "%!" (vlua statusline.enable))))
   (au! [WinLeave BufLeave] * #(setl! statusline " ")))