aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-23 17:38:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-23 17:38:16 +1200
commit9fb3206821470aa51df7ccae7bda8bbd2bda32f5 (patch)
treef6a37c359dd6fc3bb486d44e7fb32d89ea97366d /vim/ftplugin
parent411034679b7129ee74b225191f5d17e6c29d328f (diff)
downloaddotfiles-9fb3206821470aa51df7ccae7bda8bbd2bda32f5.tar.gz
dotfiles-9fb3206821470aa51df7ccae7bda8bbd2bda32f5.zip
Correct Vim 'formatlistpat' def for Markdown
Diffstat (limited to 'vim/ftplugin')
-rw-r--r--vim/ftplugin/markdown.vim4
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