jaxbot / github-issues.vim

Github issue lookup in Vim
http://jaxbot.me/articles/github-issues-vim-plugin-5-7-2014
Other
405 stars 28 forks source link

set codeblock regex from vim original pattern #137

Closed delphinus closed 9 years ago

delphinus commented 9 years ago

The present syntax cannot color code blocks that are not caught by empty lines. The Github Flavored Markdown Document says that blocks may be allowed.

fenced code blocks don't have to be preceded by a blank line

some code
.```
code to be colored
.```
some code

This patch can color them by using the regex from Vim original code.

jaxbot commented 9 years ago

This plugin uses the GitHub flavored markdown syntax from Jeff Tratner. Not sure where the fork happened from the one included in Vim, but I added the line you mentioned and it seems to be fixed now.

delphinus commented 9 years ago

Great. I can find truly colored code blocks.

jaxbot commented 9 years ago

Sounds good! :+1: