aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:25:01 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:25:01 +1200
commit6b0187101c6f7c293713271402eaeb96d701c39d (patch)
treed41edac7cc012314bfe1c5e1a0f4839f6099b9eb /vim
parentae31e57f80d1898676acb7a12af87e156e9dbeaf (diff)
downloaddotfiles-6b0187101c6f7c293713271402eaeb96d701c39d.tar.gz
Break up Markdown ftplugin option settings
Just for readability.
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/markdown.vim10
1 files changed, 8 insertions, 2 deletions
diff --git a/vim/ftplugin/markdown.vim b/vim/ftplugin/markdown.vim
index ba7346b1..d2903287 100644
--- a/vim/ftplugin/markdown.vim
+++ b/vim/ftplugin/markdown.vim
@@ -4,8 +4,14 @@ if exists('b:did_ftplugin')
endif
let b:did_ftplugin = 1
-setlocal comments=fb:*,fb:-,fb:+,n:> commentstring=>\ %s
-setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o
+" Specify format for comments (lists, quotes)
+setlocal comments=fb:*,fb:-,fb:+,n:>
+setlocal commentstring=>\ %s
+
+" Specify format options
+setlocal formatoptions+=tcqln
+setlocal formatoptions-=o
+setlocal formatoptions-=r
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^[-*+]\\s\\+\\\|^\\[^\\ze[^\\]]\\+\\]:
if exists('b:undo_ftplugin')