mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 17:30:08 -04:00
feat!: change upstream proto parser and improve highlights
This commit is contained in:
parent
4c4d586a05
commit
8968a3a541
4 changed files with 25 additions and 12 deletions
|
|
@ -1,18 +1,30 @@
|
|||
[
|
||||
"syntax"
|
||||
"option"
|
||||
"service"
|
||||
"rpc"
|
||||
"returns"
|
||||
"message"
|
||||
"enum"
|
||||
"extend"
|
||||
"extensions"
|
||||
"message"
|
||||
"oneof"
|
||||
"optional"
|
||||
"repeated"
|
||||
"option"
|
||||
"reserved"
|
||||
"service"
|
||||
"syntax"
|
||||
"to"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"rpc"
|
||||
] @keyword.function
|
||||
|
||||
[
|
||||
"returns"
|
||||
] @keyword.return
|
||||
|
||||
[
|
||||
"optional"
|
||||
"repeated"
|
||||
"required"
|
||||
] @type.qualifier
|
||||
|
||||
[
|
||||
"package"
|
||||
"import"
|
||||
|
|
@ -34,6 +46,7 @@
|
|||
[
|
||||
(string)
|
||||
"\"proto3\""
|
||||
"\"proto2\""
|
||||
] @string
|
||||
|
||||
(int_lit) @number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue