From: Bryan Enders Date: Thu, 21 Feb 2019 19:52:53 +0000 (-0500) Subject: Syntax: Fix strikethrough X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/d8059130738ea7c583f469cdc781795ecb673209?ds=sidebyside;hp=-c Syntax: Fix strikethrough Why --- Strikethrough was only matching if the strikethrough happened to occur in a list How --- Add `htmlStrike` to `mkdNonListItem` cluster --- d8059130738ea7c583f469cdc781795ecb673209 diff --git a/syntax/markdown.vim b/syntax/markdown.vim index d0077a4..7134f38 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -155,7 +155,7 @@ if get(g:, 'vim_markdown_strikethrough', 0) HtmlHiLink mkdStrike htmlStrike endif -syn cluster mkdNonListItem contains=@htmlTop,htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdInlineURL,mkdLink,mkdLinkDef,mkdLineBreak,mkdBlockquote,mkdCode,mkdRule,htmlH1,htmlH2,htmlH3,htmlH4,htmlH5,htmlH6,mkdMath +syn cluster mkdNonListItem contains=@htmlTop,htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdInlineURL,mkdLink,mkdLinkDef,mkdLineBreak,mkdBlockquote,mkdCode,mkdRule,htmlH1,htmlH2,htmlH3,htmlH4,htmlH5,htmlH6,mkdMath,htmlStrike "highlighting for Markdown groups HtmlHiLink mkdString String