aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:34:37 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-23 09:34:37 +1200
commita5621106ace078f8a805612fb7156d30ccc72ddf (patch)
treeb1db3967dee455d051f1b8d0d273b8c23dd44c2c /vim
parentef052eb47134357a076b6ec619fd3c6a24ca2c12 (diff)
downloaddotfiles-a5621106ace078f8a805612fb7156d30ccc72ddf.tar.gz
Break apart 'comments' definitions
Diffstat (limited to 'vim')
-rw-r--r--vim/ftplugin/markdown.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/vim/ftplugin/markdown.vim b/vim/ftplugin/markdown.vim
index db8e78f9..a455a00c 100644
--- a/vim/ftplugin/markdown.vim
+++ b/vim/ftplugin/markdown.vim
@@ -5,8 +5,11 @@ endif
let b:did_ftplugin = 1
" Specify format for comments (lists, quotes)
-setlocal comments=fb:*,fb:-,fb:+,n:>
-setlocal commentstring=>\ %s
+setlocal comments+=fb:* " Bulleted lists
+setlocal comments+=fb:- " Dashed lists
+setlocal comments+=fb:+ " Plussed lists (?)
+setlocal comments+=n:> " Mail-style quotes
+let &l:commentstring = '> %s'
let b:undo_ftplugin = 'setlocal comments< commentstring<'
" Specify format options