Compare commits

...

3 Commits

Author SHA1 Message Date
warg 45938c25e9 refactor(queries): refine capture groups 2026-05-17 07:49:02 +02:00
warg 83fa4442d4 chore: remove comment 2026-05-17 07:17:28 +02:00
warg bc37f8290c docs: update README.md 2026-05-17 07:12:17 +02:00
3 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ need to be on `runtimepath` too. With `nvim-treesitter`:
Files are recognised as `tumblr` by extension or by double-extension:
- `*.tumblr`
- `*.tumblr.html` (the convention used by the `tumblr.vim` plugin)
- `*.tumblr.html`
## Development
+2 -3
View File
@@ -88,10 +88,9 @@
((variable_modifier) @number
(#match? @number "^[0-9]+(sq)?$"))
(variable_prefix) @keyword
(prefix_argument) @variable
(variable_prefix) @keyword.directive
(prefix_argument) @constant
(lang_tag) @string.special
(lang_text) @string
(attribute_name) @attribute
-4
View File
@@ -1,7 +1,3 @@
; All non-tag content is HTML. injection.combined concatenates every
; content node so an HTML tag opened in one chunk can close in another
; (across a {block:Foo}...{/block:Foo}). HTML's own injection queries
; then take over for <style> and <script>, giving us CSS and JS for free.
((content) @injection.content
(#set! injection.language "html")
(#set! injection.combined))