mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-08 18:03:48 -05:00
Fix fold inside code fences
This commit is contained in:
@@ -35,7 +35,7 @@ if !exists("g:no_plugin_maps") && !exists("g:no_markdown_maps")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
function! s:NotCodeBlock(lnum) abort
|
function! s:NotCodeBlock(lnum) abort
|
||||||
return synIDattr(synID(a:lnum, 1, 1), 'name') !=# 'markdownCode'
|
return synIDattr(synID(a:lnum, 1, 1), 'name') !=# 'markdownCodeBlock'
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! MarkdownFold() abort
|
function! MarkdownFold() abort
|
||||||
|
|||||||
Reference in New Issue
Block a user