mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -04:00
Merge b294a93403 into 4916d6592e
This commit is contained in:
commit
2e20d730eb
2 changed files with 58 additions and 22 deletions
|
|
@ -1,11 +1,11 @@
|
|||
syntax = "proto2";
|
||||
// ^^^^^^^^ @string.special
|
||||
// ^^^^^^^^ @string.special.symbol
|
||||
package sls.asfd.asfd;
|
||||
// ^^^ @variable
|
||||
// ^^^ @module
|
||||
// ^ @punctuation.delimiter
|
||||
// ^^^^ @variable.member
|
||||
// ^^^^ @module
|
||||
// ^ @punctuation.delimiter
|
||||
// ^^^^ @variable.member
|
||||
// ^^^^ @module
|
||||
// ^ @punctuation.delimiter
|
||||
|
||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||
|
|
@ -19,7 +19,11 @@ import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
|||
//<- @keyword.import
|
||||
|
||||
option (gogoproto.sizer_all) = true;
|
||||
// ^^^^^^^^^ @variable
|
||||
// ^^^^^^^^^ @variable.member
|
||||
option (gogoproto.marshaler_all) = true;
|
||||
// ^^^^^^^^^ @variable
|
||||
// ^^^^^^^^^^^^^ @variable.member
|
||||
option (gogoproto.unmarshaler_all.foo) = true;
|
||||
// ^^^^^^^^^ @variable
|
||||
// ^^^^^^^^^^^^^^^ @variable.member
|
||||
|
|
@ -30,12 +34,12 @@ message LogContent
|
|||
//<- @keyword.type
|
||||
{
|
||||
required string Key = 1;
|
||||
// ^^^^^^ @type
|
||||
// ^^^^^^ @type.builtin
|
||||
// ^^^ @property
|
||||
// ^ @operator
|
||||
// ^ @number
|
||||
required string Value = 2;
|
||||
// ^^^^^^ @type
|
||||
// ^^^^^^ @type.builtin
|
||||
// ^^^^^ @property
|
||||
required CustomType Value = 2;
|
||||
// ^^^^^^^^ @keyword.modifier
|
||||
|
|
@ -46,7 +50,7 @@ message LogContent
|
|||
optional JsonFormat json_format = 6 [
|
||||
// ^^^^^^^^ @keyword.modifier
|
||||
retention = RETENTION_RUNTIME,
|
||||
// ^^^^^^^^^^^^^^^^^ @variable
|
||||
// ^^^^^^^^^^^^^^^^^ @constant
|
||||
// ^ @punctuation.delimiter
|
||||
targets = TARGET_TYPE_MESSAGE,
|
||||
// ^^^^^^^ @property
|
||||
|
|
@ -60,3 +64,4 @@ message LogContent
|
|||
];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue