Add syntax, oneof, and stream to protobuf-mode.el

PiperOrigin-RevId: 609387708
pull/15916/head
Hong Shin 9 months ago committed by Copybara-Service
parent 73e3aec316
commit b9483e03c7
  1. 6
      editors/protobuf-mode.el

@ -87,7 +87,7 @@
"string" "bytes" "group")) "string" "bytes" "group"))
(c-lang-defconst c-modifier-kwds (c-lang-defconst c-modifier-kwds
protobuf '("required" "optional" "repeated")) protobuf '("required" "optional" "repeated" "oneof"))
(c-lang-defconst c-class-decl-kwds (c-lang-defconst c-class-decl-kwds
protobuf '("message" "enum" "service")) protobuf '("message" "enum" "service"))
@ -96,7 +96,7 @@
protobuf '("true" "false")) protobuf '("true" "false"))
(c-lang-defconst c-other-decl-kwds (c-lang-defconst c-other-decl-kwds
protobuf '("package" "import")) protobuf '("package" "import" "syntax"))
(c-lang-defconst c-other-kwds (c-lang-defconst c-other-kwds
protobuf '("default" "max")) protobuf '("default" "max"))
@ -112,7 +112,7 @@
protobuf '("extensions" "to" "reserved")) protobuf '("extensions" "to" "reserved"))
(c-lang-defconst c-typeless-decl-kwds (c-lang-defconst c-typeless-decl-kwds
protobuf '("extend" "rpc" "option" "returns")) protobuf '("extend" "rpc" "stream" "option" "returns"))
;; Here we remove default syntax for loops, if-statements and other C ;; Here we remove default syntax for loops, if-statements and other C

Loading…
Cancel
Save