summaryrefslogtreecommitdiff
path: root/fnl/config/autocmd.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/autocmd.fnl')
-rw-r--r--fnl/config/autocmd.fnl6
1 files changed, 6 insertions, 0 deletions
diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl
index 2e3fee2..b76d68e 100644
--- a/fnl/config/autocmd.fnl
+++ b/fnl/config/autocmd.fnl
@@ -15,6 +15,12 @@
(vim.highlight.on_yank {:higroup :Visual
:timeout 200}))})
+(create-autocmd :FileType {:pattern :lir
+ :callback (fn []
+ (tset vim.opt_local :number false)
+ (tset vim.opt_local :relativenumber
+ false))})
+
(create-autocmd :BufWinEnter {:command "setlocal formatoptions-=cro"})
(create-autocmd :FileType {:pattern :qf :command "set nobuflisted"})