diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-13 19:49:36 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-13 19:49:36 +0200 |
commit | 56466e4d0f0d61983656cddcb9737e54a66a86dd (patch) | |
tree | 71a4e63a8301e533695ffe1a6a7f458613dc46cc | |
parent | 0115a01deb8a8e19436935b96c70606f5139d7e1 (diff) |
Disable line numbers for lir
-rw-r--r-- | fnl/config/autocmd.fnl | 9 |
1 files changed, 8 insertions, 1 deletions
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 ="}) |