From 23213f39db29abc1e79af3b6fcb7546f4ff7992e Mon Sep 17 00:00:00 2001 From: Jaehwang Jerry Jung Date: Tue, 11 Jan 2022 01:56:42 +0900 Subject: [PATCH] Fix undo_ftplugin Add the missing bar and setl command, which previously hadn't been necessary until the addition of [[ and ]] maps. --- ftplugin/markdown.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index 87fc88e..fbcde16 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -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: