summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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