diff options
author | aktersnurra <grydholm@kth.se> | 2022-04-30 17:17:19 +0200 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2022-04-30 17:17:19 +0200 |
commit | 629946d048266f02ee95cd587a9d6084a5616f23 (patch) | |
tree | 846567b73d5e8f7db228d24992382b8fa0479b0f | |
parent | 1f1e450fd37a0cee1d60782ba98fa0eafc59338f (diff) |
fix(autocmd): merge gitcommit and markdown
-rw-r--r-- | fnl/config/autocmd.fnl | 16 |
1 files changed, 2 insertions, 14 deletions
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 |