Compare commits
3 Commits
c00dd4545a
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 45938c25e9 | |||
| 83fa4442d4 | |||
| bc37f8290c |
@@ -67,7 +67,7 @@ need to be on `runtimepath` too. With `nvim-treesitter`:
|
|||||||
Files are recognised as `tumblr` by extension or by double-extension:
|
Files are recognised as `tumblr` by extension or by double-extension:
|
||||||
|
|
||||||
- `*.tumblr`
|
- `*.tumblr`
|
||||||
- `*.tumblr.html` (the convention used by the `tumblr.vim` plugin)
|
- `*.tumblr.html`
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
|
|||||||
@@ -88,10 +88,9 @@
|
|||||||
((variable_modifier) @number
|
((variable_modifier) @number
|
||||||
(#match? @number "^[0-9]+(sq)?$"))
|
(#match? @number "^[0-9]+(sq)?$"))
|
||||||
|
|
||||||
(variable_prefix) @keyword
|
(variable_prefix) @keyword.directive
|
||||||
(prefix_argument) @variable
|
(prefix_argument) @constant
|
||||||
|
|
||||||
(lang_tag) @string.special
|
|
||||||
(lang_text) @string
|
(lang_text) @string
|
||||||
|
|
||||||
(attribute_name) @attribute
|
(attribute_name) @attribute
|
||||||
|
|||||||
@@ -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
|
((content) @injection.content
|
||||||
(#set! injection.language "html")
|
(#set! injection.language "html")
|
||||||
(#set! injection.combined))
|
(#set! injection.combined))
|
||||||
|
|||||||
Reference in New Issue
Block a user