From 629946d048266f02ee95cd587a9d6084a5616f23 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Sat, 30 Apr 2022 17:17:19 +0200 Subject: fix(autocmd): merge gitcommit and markdown --- fnl/config/autocmd.fnl | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'fnl/config') diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index d4e7950..ab933ba 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -29,23 +29,11 @@ :command "set nobuflisted"}) (autocmd :FileType - {:pattern "gitcommit" + {:pattern [:gitcommit :markdown] :command "setlocal wrap"}) (autocmd :FileType - {:pattern "gitcommit" - :command "setlocal spell"}) - -(autocmd :FileType - {:pattern "markdown" - :command "setlocal wrap"}) - -(autocmd :FileType - {:pattern "markdown" - :command "setlocal spell"}) - -(autocmd :FileType - {:pattern "markdown" + {:pattern [:gitcommit :markdown] :command "setlocal spell"}) (autocmd :VimResized -- cgit v1.2.3-70-g09d2