Skip to content

Commit 244f016

Browse files
tpopechrisbra
authored andcommitted
runtime(markdown): Fix folding of code blocks
1 parent a907c91 commit 244f016

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

runtime/ftplugin/markdown.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim filetype plugin
22
" Language: Markdown
33
" Maintainer: Tim Pope <https://github.com/tpope/vim-markdown>
4-
" Last Change: 2022 Oct 13
4+
" Last Change: 2023 Dec 28
55

66
if exists("b:did_ftplugin")
77
finish
@@ -35,7 +35,7 @@ if !exists("g:no_plugin_maps") && !exists("g:no_markdown_maps")
3535
endif
3636

3737
function! s:NotCodeBlock(lnum) abort
38-
return synIDattr(synID(a:lnum, 1, 1), 'name') !=# 'markdownCode'
38+
return synIDattr(synID(a:lnum, 1, 1), 'name') !=# 'markdownCodeBlock'
3939
endfunction
4040

4141
function! MarkdownFold() abort

0 commit comments

Comments
 (0)