aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-23 17:33:17 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-23 17:33:17 +1200
commitf2e0766d4f5d02a39ee63b9cf5b1500f95399b33 (patch)
treeb4c49ad6419e62a098793de325a233eaabf748aa
parent49ab219f0cb57ac3eafcd3516e3d90269a0319de (diff)
downloaddotfiles-f2e0766d4f5d02a39ee63b9cf5b1500f95399b33.tar.gz
dotfiles-f2e0766d4f5d02a39ee63b9cf5b1500f95399b33.zip
Correct an exists() call in markdown ftplugin
Evidently copy-pasted from documentation.
-rw-r--r--vim/ftplugin/markdown.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/vim/ftplugin/markdown.vim b/vim/ftplugin/markdown.vim
index c6a180a9..95694d20 100644
--- a/vim/ftplugin/markdown.vim
+++ b/vim/ftplugin/markdown.vim
@@ -20,7 +20,7 @@ setlocal formatoptions+=tcqln
setlocal formatoptions-=ro
" Set list format patterns
-if exists('+option-name')
+if exists('+formatlistpat')
let &l:formatlistpat = '^\s*\d\+\.\s\+\'
\ .'\|^[-*+]\s\+\'
\ .'\|^\[^\ze[^\]]\+\]:'