diff options
| author | virchau13 <virchau13@hexular.net> | 2022-04-08 12:03:21 +0800 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2022-04-09 14:24:07 +0200 |
| commit | e3adb39586ef573fc048aeb341f3a9fb71754452 (patch) | |
| tree | 945fd8f98aefcfef673a5b338419552c75fb4718 /queries | |
| parent | 9c1fb1626a1eda7f75eeac0e6fe9fab1892332d6 (diff) | |
feat: add curly interpolation support for astro
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/astro/highlights.scm | 2 | ||||
| -rw-r--r-- | queries/astro/injections.scm | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/queries/astro/highlights.scm b/queries/astro/highlights.scm index 95c2d544..62e8ed24 100644 --- a/queries/astro/highlights.scm +++ b/queries/astro/highlights.scm @@ -1,3 +1,5 @@ ; inherits: html [ "---" ] @punctuation.delimiter + +[ "{" "}" ] @punctuation.special diff --git a/queries/astro/injections.scm b/queries/astro/injections.scm index 981dece3..8b68bee2 100644 --- a/queries/astro/injections.scm +++ b/queries/astro/injections.scm @@ -1,4 +1,7 @@ ; inherits: html ((frontmatter - (raw_text) @typescript)) + (raw_text) @typescript)) + +((interpolation + (raw_text) @tsx)) |
