mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 20:07:44 +03:00
Update Typescript, TSX and Svelte grammar, to latest tag (#6874)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
This commit is contained in:
parent
843ae97120
commit
bc4f08febf
3 changed files with 14 additions and 3 deletions
|
@ -4,6 +4,16 @@
|
|||
(raw_text) @injection.content)
|
||||
(#set! injection.language "css"))
|
||||
|
||||
((style_element
|
||||
(start_tag
|
||||
(attribute
|
||||
(attribute_name) @_attr
|
||||
(quoted_attribute_value (attribute_value) @_lang)))
|
||||
(raw_text) @injection.content)
|
||||
(#eq? @_attr "lang")
|
||||
(#match? @_lang "scss")
|
||||
(#set! injection.language "scss"))
|
||||
|
||||
((attribute
|
||||
(attribute_name) @_attr
|
||||
(quoted_attribute_value (attribute_value) @css))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue