diff options
Diffstat (limited to 'queries/rst/highlights.scm')
| -rw-r--r-- | queries/rst/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/rst/highlights.scm b/queries/rst/highlights.scm index 3f719d9f3..b5046d316 100644 --- a/queries/rst/highlights.scm +++ b/queries/rst/highlights.scm @@ -23,7 +23,7 @@ ((directive name: (type) @function.builtin) - (#match? + (#vim-match? @function.builtin ; https://docutils.sourceforge.io/docs/ref/rst/directives.html "^(attention|caution|danger|error|hint|important|note|tip|warning|admonition)|(image|figure)|(topic|sidebar|line-block|parsed-literal|code|math|rubric|epigraph|highlights|pull-quote|compound|container)|(table|csv-table|list-table)|(contents|sectnum|section-numbering|header|footer)|(target-notes)|(meta)|(replace|unicode|date)|(raw|class|role|default-role|title|restructuredtext-test-directive)::$")) @@ -73,7 +73,7 @@ (role) @function ((role) @function.builtin - (#match? + (#vim-match? @function.builtin ; https://docutils.sourceforge.io/docs/ref/rst/roles.html "^:(emphasis|literal|code|math|pep-reference|PEP|rfc-reference|RFC|strong|subscript|sub|superscript|sup|title-reference|title|t|raw):$")) |
