Skip to content

Commit

Permalink
Fix undo_ftplugin
Browse files Browse the repository at this point in the history
Add the missing bar and setl command, which previously hadn't been
necessary until the addition of [[ and ]] maps.
  • Loading branch information
tomtomjhj authored and tpope committed Jan 10, 2022
1 parent ed76403 commit 23213f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/markdown.vim
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if has("folding") && get(g:, "markdown_folding", 0)
setlocal foldexpr=MarkdownFold()
setlocal foldmethod=expr
setlocal foldtext=MarkdownFoldText()
let b:undo_ftplugin .= " foldexpr< foldmethod< foldtext<"
let b:undo_ftplugin .= "|setl foldexpr< foldmethod< foldtext<"
endif

" vim:set sw=2:

0 comments on commit 23213f3

Please sign in to comment.