feat(ruby): add injection pattern to support rbs-inline style

This commit is contained in:
joker1007 2025-11-13 00:17:16 +09:00
parent 37e1287daa
commit 6d71fc6cb5
No known key found for this signature in database
GPG key ID: 69BAF8CC17ECB7B3

View file

@ -1,6 +1,10 @@
((comment) @injection.content
(#set! injection.language "comment"))
((comment) @injection.content
(#match? @injection.content "(^#:|\\@rbs)")
(#set! injection.language "rbs"))
(heredoc_body
(heredoc_content) @injection.content
(heredoc_end) @injection.language)