on master help sign in
Update tree-sitter-cpp, support injections in tagged rawstrings (#5457)
a8248c5Sam McCall
languages.toml+1−1
@@ -221,7 +221,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote
221
221
222[[grammar]]
222[[grammar]]
223name = "cpp"
223name = "cpp"
224−source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "d5e90fba898f320db48d81ddedd78d52c67c1fed" }
224+source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "2d2c4aee8672af4c7c8edff68e7dd4c07e88d2b1" }
225
225
226[[language]]
226[[language]]
227name = "crystal"
227name = "crystal"
runtime/queries/cpp/injections.scm+3
@@ -1 +1,4 @@
1; inherits: c
1; inherits: c
2+(raw_string_literal
3+ delimiter: (raw_string_delimiter) @injection.language
4+ (raw_string_content) @injection.content)