summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorYusuf Bera Ertan2021-08-18 10:54:47 +0000
committerBlaž Hrastnik2021-08-19 00:54:14 +0000
commit4b45f27a13500bd5f85d11e2e3bcda49bfdd065c (patch)
tree3da84f41e5df60da71752ba69df254f7d27a4bb7 /languages.toml
parent1158fc44870ba21e8dabf3547f89a3be9ddaa286 (diff)
feat: add protobuf tree-sitter parser with highlighting queries
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 480f2a3e..47155523 100644
--- a/languages.toml
+++ b/languages.toml
@@ -31,6 +31,16 @@ comment-token = "#"
indent = { tab-width = 2, unit = " " }
[[language]]
+name = "protobuf"
+scope = "source.proto"
+injection-regex = "protobuf"
+file-types = ["proto"]
+roots = []
+comment-token = "//"
+
+indent = { tab-width = 2, unit = " " }
+
+[[language]]
name = "elixir"
scope = "source.elixir"
injection-regex = "elixir"