diff --git a/languages.toml b/languages.toml index 1b22aee9f..b09d81a57 100644 --- a/languages.toml +++ b/languages.toml @@ -626,7 +626,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote [[grammar]] name = "cpp" -source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "670404d7c689be1c868a46f919ba2a3912f2b7ef" } +source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "56455f4245baf4ea4e0881c5169de69d7edd5ae7" } [[language]] name = "crystal" diff --git a/runtime/queries/cpp/highlights.scm b/runtime/queries/cpp/highlights.scm index 291163d37..2224dbc14 100644 --- a/runtime/queries/cpp/highlights.scm +++ b/runtime/queries/cpp/highlights.scm @@ -3,7 +3,7 @@ ; Constants (this) @variable.builtin -(nullptr) @constant.builtin +(null) @constant.builtin ; Types