From d0bf87b97673000f692c68cfb8a94519ea639058 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 18 Dec 2022 21:13:34 +0100 Subject: Add lir again --- fnl/config/autocmd.fnl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'fnl/config/autocmd.fnl') 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"}) -- cgit v1.2.3-70-g09d2