feat(slim): add parser and queries (#7425)

This commit is contained in:
Théo Reichel 2025-01-21 09:25:08 +01:00 committed by GitHub
parent 65c466178e
commit 1c67567464
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 144 additions and 0 deletions

View file

@ -0,0 +1,39 @@
((ruby_inline) @injection.content
(#set! injection.language "ruby"))
((ruby_lang) @injection.content
(#set! injection.language "ruby")
(#set! injection.combined))
((javascript_lang) @injection.content
(#set! injection.language "javascript")
(#set! injection.combined))
((css_lang) @injection.content
(#set! injection.language "css")
(#set! injection.combined))
((sass_lang) @injection.content
(#set! injection.language "sass")
(#set! injection.combined))
((scss_lang) @injection.content
(#set! injection.language "scss")
(#set! injection.combined))
((less_lang) @injection.content
(#set! injection.language "less")
(#set! injection.combined))
((scss_lang) @injection.content
(#set! injection.language "scss")
(#set! injection.combined))
((markdown_lang) @injection.content
(#set! injection.language "markdown"))
((rdoc_lang) @injection.content
(#set! injection.language "rdoc"))
((comment) @injection.content
(#set! injection.language "comment"))