mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
1
runtime/queries/astro/folds.scm
Normal file
1
runtime/queries/astro/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: html
|
||||
5
runtime/queries/astro/highlights.scm
Normal file
5
runtime/queries/astro/highlights.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
; inherits: html
|
||||
|
||||
[ "---" ] @punctuation.delimiter
|
||||
|
||||
[ "{" "}" ] @punctuation.special
|
||||
1
runtime/queries/astro/indents.scm
Normal file
1
runtime/queries/astro/indents.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: html
|
||||
23
runtime/queries/astro/injections.scm
Normal file
23
runtime/queries/astro/injections.scm
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
; inherits: html_tags
|
||||
|
||||
(frontmatter
|
||||
(raw_text) @injection.content
|
||||
(#set! injection.language "typescript"))
|
||||
|
||||
(interpolation
|
||||
(raw_text) @injection.content
|
||||
(#set! injection.language "tsx"))
|
||||
|
||||
(script_element
|
||||
(raw_text) @injection.content
|
||||
(#set! injection.language "typescript"))
|
||||
|
||||
(style_element
|
||||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @_lang_attr
|
||||
(quoted_attribute_value (attribute_value) @_lang_value)))
|
||||
(raw_text) @injection.content
|
||||
(#eq? @_lang_attr "lang")
|
||||
(#eq? @_lang_value "scss")
|
||||
(#set! injection.language "scss"))
|
||||
1
runtime/queries/astro/locals.scm
Normal file
1
runtime/queries/astro/locals.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: html
|
||||
Loading…
Add table
Add a link
Reference in a new issue