aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2022-10-04 13:31:29 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-10-04 10:09:09 -0400
commitf051eb2b26f50f247ad0f7fcb5befe5641232e5d (patch)
tree488016cb193537bee244d68c8f356b15c70e5e48
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-f051eb2b26f50f247ad0f7fcb5befe5641232e5d.tar
nvim-treesitter-f051eb2b26f50f247ad0f7fcb5befe5641232e5d.tar.gz
nvim-treesitter-f051eb2b26f50f247ad0f7fcb5befe5641232e5d.tar.bz2
nvim-treesitter-f051eb2b26f50f247ad0f7fcb5befe5641232e5d.tar.lz
nvim-treesitter-f051eb2b26f50f247ad0f7fcb5befe5641232e5d.tar.xz
nvim-treesitter-f051eb2b26f50f247ad0f7fcb5befe5641232e5d.tar.zst
nvim-treesitter-f051eb2b26f50f247ad0f7fcb5befe5641232e5d.zip
highlights(proto): highlight optional
`optional` came back with protobuf 3.15 as a valid modifier so highlight it the same way as `repeated`.
-rw-r--r--queries/proto/highlights.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/queries/proto/highlights.scm b/queries/proto/highlights.scm
index a859ef418..48c18906c 100644
--- a/queries/proto/highlights.scm
+++ b/queries/proto/highlights.scm
@@ -9,6 +9,7 @@
"message"
"enum"
"oneof"
+ "optional"
"repeated"
"reserved"
"to"