From 4b45f27a13500bd5f85d11e2e3bcda49bfdd065c Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Wed, 18 Aug 2021 13:54:47 +0300 Subject: feat: add protobuf tree-sitter parser with highlighting queries --- languages.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'languages.toml') diff --git a/languages.toml b/languages.toml index 480f2a3e..47155523 100644 --- a/languages.toml +++ b/languages.toml @@ -30,6 +30,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" -- cgit v1.2.3-70-g09d2