summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-30 17:17:19 +0200
committeraktersnurra <grydholm@kth.se>2022-04-30 17:17:19 +0200
commit629946d048266f02ee95cd587a9d6084a5616f23 (patch)
tree846567b73d5e8f7db228d24992382b8fa0479b0f /fnl/config
parent1f1e450fd37a0cee1d60782ba98fa0eafc59338f (diff)
fix(autocmd): merge gitcommit and markdown
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/autocmd.fnl16
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