nvim-treesitter/runtime/queries/pioasm/injections.scm

16 lines
347 B
Scheme
Raw Normal View History

2024-01-06 15:05:50 +09:00
([
(line_comment)
(block_comment)
] @injection.content
(#set! injection.language "comment"))
((code_block
(code_block_language) @_language
(code_block_body) @injection.content)
2024-01-06 15:05:50 +09:00
(#eq? @_language "c-sdk")
(#set! injection.language "c"))
(code_block
(code_block_language) @injection.language
(code_block_body) @injection.content)