diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 17:33:17 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-06-23 17:33:17 +1200 |
commit | f2e0766d4f5d02a39ee63b9cf5b1500f95399b33 (patch) | |
tree | b4c49ad6419e62a098793de325a233eaabf748aa /vim/ftplugin | |
parent | Add "gitrebase" Vim filetype (diff) | |
download | dotfiles-f2e0766d4f5d02a39ee63b9cf5b1500f95399b33.tar.gz dotfiles-f2e0766d4f5d02a39ee63b9cf5b1500f95399b33.zip |
Correct an exists() call in markdown ftplugin
Evidently copy-pasted from documentation.
Diffstat (limited to 'vim/ftplugin')
-rw-r--r-- | vim/ftplugin/markdown.vim | 2 |
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[^\]]\+\]:' |