Migrate to an improved proto grammar (#12225)

This commit is contained in:
Sebastian Dörner 2024-12-31 20:41:53 +01:00 committed by GitHub
parent 4a59f68a0d
commit b1759f998d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 37 additions and 38 deletions

View file

@ -340,16 +340,17 @@ source = { git = "https://github.com/Beaglefoot/tree-sitter-awk", rev = "a799bc5
[[language]]
name = "protobuf"
scope = "source.proto"
injection-regex = "protobuf"
injection-regex = "proto"
file-types = ["proto"]
language-servers = [ "bufls", "pbkit" ]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
indent = { tab-width = 2, unit = " " }
grammar = "proto"
[[grammar]]
name = "protobuf"
source = { git = "https://github.com/yusdacra/tree-sitter-protobuf", rev = "19c211a01434d9f03efff99f85e19f967591b175"}
name = "proto"
source = { git = "https://github.com/sdoerner/tree-sitter-proto", rev = "778ab6ed18a7fcf82c83805a87d63376c51e80bc"}
[[language]]
name = "textproto"