diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 17:38:16 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 17:38:16 +1200 |
commit | 9fb3206821470aa51df7ccae7bda8bbd2bda32f5 (patch) | |
tree | f6a37c359dd6fc3bb486d44e7fb32d89ea97366d /vim | |
parent | Add password filetype (diff) | |
download | dotfiles-9fb3206821470aa51df7ccae7bda8bbd2bda32f5.tar.gz dotfiles-9fb3206821470aa51df7ccae7bda8bbd2bda32f5.zip |
Correct Vim 'formatlistpat' def for Markdown
Diffstat (limited to 'vim')
-rw-r--r-- | vim/ftplugin/markdown.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/ftplugin/markdown.vim b/vim/ftplugin/markdown.vim index 95694d20..e1787df5 100644 --- a/vim/ftplugin/markdown.vim +++ b/vim/ftplugin/markdown.vim @@ -21,8 +21,8 @@ setlocal formatoptions-=ro " Set list format patterns if exists('+formatlistpat') - let &l:formatlistpat = '^\s*\d\+\.\s\+\' - \ .'\|^[-*+]\s\+\' + let &l:formatlistpat = '^\s*\d\+\.\s\+' + \ .'\|^[-*+]\s\+' \ .'\|^\[^\ze[^\]]\+\]:' endif |