mirror of
https://github.com/tpope/vim-markdown.git
synced 2025-11-11 19:33:49 -05:00
Previously in Markdown files, Vim would treat heading syntax in code fences as Markdown headers. This commit ensures that only headers will be folded by checking the 'synIDattr' of the item. E.g. The comment in this code snippet would have been treated as a Markdown header. ```sh # This is a comment echo "Hello world" ```