]> git.madduck.net Git - etc/vim.git/commit

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Fix folding broken by other syntax highlighting.
authorJohn Tobin <johntobin@johntobin.ie>
Sun, 17 Mar 2019 19:16:16 +0000 (19:16 +0000)
committerJohn Tobin <johntobin@johntobin.ie>
Sun, 17 Mar 2019 19:16:16 +0000 (19:16 +0000)
commit0ad3f44c70dde85489ff3c036ffddd2302556692
tree0abbb7e3f510d9f26c9fd284069d619ea9f39206
parent691d961a643064ee1feddba8371ff12e44678f5a
Fix folding broken by other syntax highlighting.

When syntax highlighting is enabled for fenced code blocks, the syntax
highlighting of the language in the code block can overwrite folding
configuration, breaking Markdown folding.  Reinitialise Markdown folding
configuration every time syntax highlighting is refreshed to ensure that
Markdown folding works.
after/ftplugin/markdown.vim
ftplugin/markdown.vim