mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
the delimiter describes the language to use for the injection content
```cpp
auto python_code = R"python(
import os
if __name__ == '__main__':
print(os.name)
)python";
```
7 lines
139 B
Scheme
7 lines
139 B
Scheme
(preproc_arg) @cpp
|
|
|
|
(comment) @comment
|
|
|
|
(raw_string_literal
|
|
delimiter: (raw_string_delimiter) @language
|
|
(raw_string_content) @content)
|