From 56466e4d0f0d61983656cddcb9737e54a66a86dd Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 13 Jul 2022 19:49:36 +0200 Subject: Disable line numbers for lir --- fnl/config/autocmd.fnl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'fnl/config') diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index c851d3d..3319919 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -18,8 +18,15 @@ (autocmd :FileType {:pattern :qf :command "set nobuflisted"}) +(autocmd :FileType + {:pattern :lir + :callback (fn [] + (tset vim.opt_local :number false) + (tset vim.opt_local :relativenumber false))}) + (autocmd :FileType {:pattern [:gitcommit :markdown] :command "setlocal wrap"}) -(autocmd :FileType {:pattern [:gitcommit :markdown :org :plaintex] :command "setlocal spell"}) +(autocmd :FileType {:pattern [:gitcommit :markdown :org :plaintex] + :command "setlocal spell"}) (autocmd :VimResized {:command "tabdo wincmd ="}) -- cgit v1.2.3-70-g09d2