mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-14 04:43:48 -05:00
Fix folding of headers adjacent to code blocks
Resolves: https://github.com/tpope/vim-markdown/issues/177
This commit is contained in:
@@ -28,7 +28,7 @@ if !exists("g:no_plugin_maps") && !exists("g:no_markdown_maps")
|
||||
endif
|
||||
|
||||
function! s:NotCodeBlock(lnum) abort
|
||||
return synIDattr(synID(v:lnum, 1, 1), 'name') !=# 'markdownCode'
|
||||
return synIDattr(synID(a:lnum, 1, 1), 'name') !=# 'markdownCode'
|
||||
endfunction
|
||||
|
||||
function! MarkdownFold() abort
|
||||
|
||||
Reference in New Issue
Block a user