diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 09:34:37 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 09:34:37 +1200 |
commit | a5621106ace078f8a805612fb7156d30ccc72ddf (patch) | |
tree | b1db3967dee455d051f1b8d0d273b8c23dd44c2c /vim | |
parent | Use variable assignment for complex pattern (diff) | |
download | dotfiles-a5621106ace078f8a805612fb7156d30ccc72ddf.tar.gz dotfiles-a5621106ace078f8a805612fb7156d30ccc72ddf.zip |
Break apart 'comments' definitions
Diffstat (limited to 'vim')
-rw-r--r-- | vim/ftplugin/markdown.vim | 7 |
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 |