diff --git a/languages.toml b/languages.toml index 3ade3ea9866e..00f384abb0cc 100644 --- a/languages.toml +++ b/languages.toml @@ -221,7 +221,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote [[grammar]] name = "cpp" -source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "d5e90fba898f320db48d81ddedd78d52c67c1fed" } +source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "2d2c4aee8672af4c7c8edff68e7dd4c07e88d2b1" } [[language]] name = "crystal" diff --git a/runtime/queries/cpp/injections.scm b/runtime/queries/cpp/injections.scm index a5a5208ca9c7..fb783bb6fa85 100644 --- a/runtime/queries/cpp/injections.scm +++ b/runtime/queries/cpp/injections.scm @@ -1 +1,4 @@ ; inherits: c +(raw_string_literal + delimiter: (raw_string_delimiter) @injection.language + (raw_string_content) @injection.content)