Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/languages.toml b/languages.toml
index 23bd5fc9..81ca7e77 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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"