mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Add sass block code highlighting for svelte
This commit is contained in:
parent
6620ae1c44
commit
18d9bd5217
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
(attribute_value) @_lang)))
|
(attribute_value) @_lang)))
|
||||||
(raw_text) @injection.content)
|
(raw_text) @injection.content)
|
||||||
(#eq? @_attr "lang")
|
(#eq? @_attr "lang")
|
||||||
(#any-of? @_lang "scss" "postcss" "less")
|
(#any-of? @_lang "scss" "postcss" "less" "sass")
|
||||||
(#set! injection.language "scss"))
|
(#set! injection.language "scss"))
|
||||||
|
|
||||||
((svelte_raw_text) @injection.content
|
((svelte_raw_text) @injection.content
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue