diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-18 21:13:34 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-18 21:13:34 +0100 |
commit | d0bf87b97673000f692c68cfb8a94519ea639058 (patch) | |
tree | d49de002a0ae7970ef20ec779d6fdd336afbe654 /fnl/config/autocmd.fnl | |
parent | ab4d7b25ebbb6338bf44ada7ab1671ee14139962 (diff) |
Add lir again
Diffstat (limited to 'fnl/config/autocmd.fnl')
-rw-r--r-- | fnl/config/autocmd.fnl | 6 |
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"}) |