diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2026-09-01 08:52:15 +0200 |
|---|---|---|
| committer | Christian Clason <ch.clason+github@icloud.com> | 2026-09-01 09:08:10 +0200 |
| commit | 427e9222363d07c32d6db6169e4049c28d58d141 (patch) | |
| tree | 0764998fff553caf446c6f587c9a1d8ebce5393e | |
| parent | ci(generate): increase max_jobs to 10 (diff) | |
| download | nvim-treesitter-427e9222363d07c32d6db6169e4049c28d58d141.tar nvim-treesitter-427e9222363d07c32d6db6169e4049c28d58d141.tar.gz nvim-treesitter-427e9222363d07c32d6db6169e4049c28d58d141.tar.bz2 nvim-treesitter-427e9222363d07c32d6db6169e4049c28d58d141.tar.lz nvim-treesitter-427e9222363d07c32d6db6169e4049c28d58d141.tar.xz nvim-treesitter-427e9222363d07c32d6db6169e4049c28d58d141.tar.zst nvim-treesitter-427e9222363d07c32d6db6169e4049c28d58d141.zip | |
feat(proto)!: update parser and queries
Breaking change: anonymous nodes ""proto3"" and ""proto2"" removed
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 2 | ||||
| -rw-r--r-- | runtime/queries/proto/highlights.scm | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index abeb16c0b..419f1ee7c 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -1681,7 +1681,7 @@ return { }, proto = { install_info = { - revision = '5a256fe3b6be3bd2ea4d03e1213d847c7093c2e1', + revision = '176563b253d83c4d64ae900fe0d34dfbeb735772', url = 'https://github.com/coder3101/tree-sitter-proto', }, maintainers = { '@stefanvanburen' }, diff --git a/runtime/queries/proto/highlights.scm b/runtime/queries/proto/highlights.scm index 22df9002f..38691e5d5 100644 --- a/runtime/queries/proto/highlights.scm +++ b/runtime/queries/proto/highlights.scm @@ -72,10 +72,10 @@ (string) @string -[ - "\"proto3\"" - "\"proto2\"" -] @string.special +(reserved_identifier) @string + +(syntax + version: (string) @string.special) (escape_sequence) @string.escape |
