Skip to content

Conversation

@jcla1
Copy link
Contributor

@jcla1 jcla1 commented Jan 21, 2022

As was requested in #26 and implemented in #34 (but with an unsatisfactory highlight group) I've taken the liberty to alter that PR to use a better highlight group instead.

(I've also had to adjust @therod's changes to fit into the current state of the syntax file.)

@tomtomjhj
Copy link
Contributor

I think the changes I made in #185 should be applied to this patch, since strikethrough is a variant of emphasis. See https://github.github.com/gfm/#strikethrough-extension-.

As pointed out by @tomtomjhj it would be good to follow the lead of the
other emphasis syntax groups: allow no whitespace after/before the
emphasis delimiter and also don't let emphasis span multiple lines.
@jcla1
Copy link
Contributor Author

jcla1 commented Jan 21, 2022

Good catch, thanks @tomtomjhj! I've modified the syntax rule accordingly.

@tpope
Copy link
Owner

tpope commented Jan 22, 2022

Let's go with markdownStrike. It avoids that big realignment and matches what HTML does.

@tpope tpope merged commit 891dff5 into tpope:master Jan 24, 2022
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.

4 participants