Skip to content

Fix syntax highlighting error for tilde blocks#1

Open
wbthomason wants to merge 1 commit intoJamieJQuinn:masterfrom
wbthomason:master
Open

Fix syntax highlighting error for tilde blocks#1
wbthomason wants to merge 1 commit intoJamieJQuinn:masterfrom
wbthomason:master

Conversation

@wbthomason
Copy link

The current definition for tilde blocks causes a parsing error in Neovim (a complaint that not enough arguments are given to syntax region. This PR fixes that error. Note, however, that the patterns don't 100% match the Madoko spec because I'm not sure how to require the start and end patterns to have the same number of tildes (or if this is possible). It may be preferable to define multiple rules for different tilde "depths" up to some reasonable number, though this is inelegant at best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant