runtime(markdown): Fix folding of code blocks

Commit: 
https://github.com/vim/vim/commit/244f01658f9c60c71a776a2162c28ea93e102f12
Author: Tim Pope <[email protected]>
Date:   Thu Dec 28 12:50:18 2023 -0500

    runtime(markdown): Fix folding of code blocks

diff --git a/runtime/ftplugin/markdown.vim b/runtime/ftplugin/markdown.vim
index 2b963f139..022dd0d60 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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/E1rIytD-001GLz-I9%40256bit.org.

Raspunde prin e-mail lui