changeset 34041:4a67df32683d

runtime(markdown): Fix folding of code blocks Commit: https://github.com/vim/vim/commit/244f01658f9c60c71a776a2162c28ea93e102f12 Author: Tim Pope <code@tpope.net> Date: Thu Dec 28 12:50:18 2023 -0500 runtime(markdown): Fix folding of code blocks
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Dec 2023 23:30:07 +0100
parents 92fd65eac53a
children 9ece16460769
files runtime/ftplugin/markdown.vim
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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") && !exist
 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