diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2022-09-06 11:56:27 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2022-09-06 12:44:19 +0100 |
| commit | 2a63ea5665a6de96acd31a045d9d4d73272ff5a9 (patch) | |
| tree | 348be916a4d33581fd2703d88878dd33fd625741 /queries/rst | |
| parent | 3e09c81b4c33bf14907b8a59025904d14c234b1e (diff) | |
feat(spell): upstream spell queries from spellsitter
Diffstat (limited to 'queries/rst')
| -rw-r--r-- | queries/rst/highlights.scm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/queries/rst/highlights.scm b/queries/rst/highlights.scm index 09389102..0e5c346b 100644 --- a/queries/rst/highlights.scm +++ b/queries/rst/highlights.scm @@ -158,6 +158,17 @@ (title) @text.title (comment) @comment +(comment) @spell (comment "..") @comment +(directive + name: (type) @_directive + body: (body + (content) @spell + (#not-match? @_directive "code-block") + ) +) + +(paragraph) @spell + (ERROR) @error |
