diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 09:25:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 09:25:01 +1200 |
commit | 6b0187101c6f7c293713271402eaeb96d701c39d (patch) | |
tree | d41edac7cc012314bfe1c5e1a0f4839f6099b9eb /vim/ftplugin | |
parent | Adjust header/footer for Markdown ftplugin (diff) | |
download | dotfiles-6b0187101c6f7c293713271402eaeb96d701c39d.tar.gz dotfiles-6b0187101c6f7c293713271402eaeb96d701c39d.zip |
Break up Markdown ftplugin option settings
Just for readability.
Diffstat (limited to 'vim/ftplugin')
-rw-r--r-- | vim/ftplugin/markdown.vim | 10 |
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') |