diff options
author | Tim Pope <code@tpope.net> | 2023-12-28 12:50:18 -0500 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-12-28 23:17:54 +0100 |
commit | 244f01658f9c60c71a776a2162c28ea93e102f12 (patch) | |
tree | df98481f57c0bb72382c6590bcc83254ce39b8db /runtime/ftplugin | |
parent | a907c91992167e41da41008d4370e434e324cbf2 (diff) |
runtime(markdown): Fix folding of code blocks
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/markdown.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/markdown.vim b/runtime/ftplugin/markdown.vim index 2b963f139d..022dd0d601 100644 --- a/runtime/ftplugin/markdown.vim +++ b/runtime/ftplugin/markdown.vim @@ -1,7 +1,7 @@ " Vim filetype plugin " Language: Markdown " Maintainer: Tim Pope <https://github.com/tpope/vim-markdown> -" Last Change: 2022 Oct 13 +" Last Change: 2023 Dec 28 if exists("b:did_ftplugin") finish @@ -35,7 +35,7 @@ if !exists("g:no_plugin_maps") && !exists("g:no_markdown_maps") endif function! s:NotCodeBlock(lnum) abort - return synIDattr(synID(a:lnum, 1, 1), 'name') !=# 'markdownCode' + return synIDattr(synID(a:lnum, 1, 1), 'name') !=# 'markdownCodeBlock' endfunction function! MarkdownFold() abort |