File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ syn region markdownLinkText matchgroup=markdownLinkTextDelimiter start="!\=\[\%(
8383syn region markdownLink matchgroup =markdownLinkDelimiter start =" (" end =" )" contains =markdownUrl keepend contained
8484syn region markdownId matchgroup =markdownIdDelimiter start =" \[ " end =" \] " keepend contained
8585syn region markdownAutomaticLink matchgroup =markdownUrlDelimiter start =" <\% (\w\+ :\| [[:alnum:]_+-]\+ @\)\@ =" end =" >" keepend oneline
86+ syn region markdownShortcutLink matchgroup =markdownLinkTextDelimiter start =" !\=\[\% (\_ [^][]*]\% ( \= [[(]\)\@ !\)\@ =" end="\] " contains=@markdownInline,markdownLineStart
8687
8788let s: concealends = ' '
8889if has (' conceal' ) && get (g: , ' markdown_syntax_conceal' , 1 ) == 1
@@ -144,6 +145,7 @@ hi def link markdownLinkText htmlLink
144145hi def link markdownIdDeclaration Typedef
145146hi def link markdownId Type
146147hi def link markdownAutomaticLink markdownUrl
148+ hi def link markdownShortcutLink markdownId
147149hi def link markdownUrl Float
148150hi def link markdownUrlTitle String
149151hi def link markdownIdDelimiter markdownLinkDelimiter
You can’t perform that action at this time.
0 commit comments