File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,14 @@ syn match pandocCodePre /<pre>.\{-}<\/pre>/ skipnl
128
128
syn match pandocCodePre / <code>.\{ -}<\/ code>/ skipnl
129
129
" }}}
130
130
131
+ " Abbreviations: {{{1
132
+ syn region pandocAbbreviationDefinition start =/ ^\*\[ .\{ -}\] :\s */ end =" $" contains =pandocNoFormatted,@Spell
133
+ syn match pandocAbbreviationSeparator / :/ contained containedin =pandocAbbreviationDefinition conceal cchar =→
134
+ syn match pandocAbbreviation / \*\[ .\{ -}\] / contained containedin =pandocAbbreviationDefinition
135
+ syn match pandocAbbreviationHead / \*\[ / contained containedin =pandocAbbreviation conceal
136
+ syn match pandocAbbreviationTail / \] / contained containedin =pandocAbbreviation conceal
137
+ " }}}
138
+
131
139
" Footnotes: {{{1
132
140
" we put these here not to interfere with superscripts.
133
141
"
@@ -202,6 +210,12 @@ hi link pandocAutomaticLink Underlined
202
210
hi link pandocDefinitionBlockTerm Identifier
203
211
hi link pandocDefinitionBlockMark Operator
204
212
213
+ hi link pandocAbbreviationHead Type
214
+ hi link pandocAbbreviation Label
215
+ hi link pandocAbbreviationTail Type
216
+ hi link pandocAbbreviationSeparator Identifier
217
+ hi link pandocAbbreviationDefinition Comment
218
+
205
219
hi link pandocFootnoteID Label
206
220
hi link pandocFootnoteIDHead Type
207
221
hi link pandocFootnoteIDTail Type
You can’t perform that action at this time.
0 commit comments