about summary refs log tree commit diff
path: root/fnl/nvrc/events.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/events.fnl')
-rw-r--r--fnl/nvrc/events.fnl16
1 files changed, 8 insertions, 8 deletions
diff --git a/fnl/nvrc/events.fnl b/fnl/nvrc/events.fnl
index c5b4d8e..545294d 100644
--- a/fnl/nvrc/events.fnl
+++ b/fnl/nvrc/events.fnl
@@ -11,11 +11,11 @@
 
 ; Restore cursor style to beam on exit
 (ag! restore-cursor
-          (au! VimLeave * #(set! guicursor ["a:ver75-blinkon0"])))
+          (au! VimLeave * (set! guicursor ["a:ver75-blinkon0"])))
 
 ; Restore the last cursor line
 (ag! restore-last-cursor-line
-          (au! BufReadPost * #(if (and (> (line "'\"") 1)
+          (au! BufReadPost * (if (and (> (line "'\"") 1)
                                        (<= (line "'\"") (line "$")))
                                   (cmd! "normal! g'\""))))
 
@@ -26,22 +26,22 @@
 ;; Read file when it changes on disk
 (ag! read-file-on-disk-change
           (au! [FocusGained BufEnter CursorHold CursorHoldI] *
-                    #(if (and (not= :c (mode))
+                    (if (and (not= :c (mode))
                               (not (bufexists? "[Command Line]")))
                        (cmd! "checktime")))
           (au! FileChangedShellPost *
-                    #(echo! "File changed on disk. Buffer reloaded.")))
+                    (echo! "File changed on disk. Buffer reloaded.")))
 
 (ag! terminal-options
           ;; Enter Terminal-mode (insert) agtomatically
           (au! TermOpen * "startinsert")
           ;; Disables line number on terminal buffers
-          (au! TermOpen * #(do
+          (au! TermOpen * (do
                                   (setl! nonumber)
                                   (setl! norelativenumber)))
           ;; Disables spell on terminal buffers
-          (au! TermOpen * #(setl! nospell))
+          (au! TermOpen * (setl! nospell))
           ;; Disables sign column on terminal buffers
-          (au! TermOpen * #(setl! signcolumn :no))
+          (au! TermOpen * (setl! signcolumn :no))
           ;; Disables colorcolumn on terminal buffers
-          (au! TermOpen * #(setl! colorcolumn [])))
+          (au! TermOpen * (setl! colorcolumn [])))