diff options
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 3456209a..3dedf671 100644 --- a/languages.toml +++ b/languages.toml @@ -2741,6 +2741,20 @@ name = "just" source = { git = "https://github.com/IndianBoy42/tree-sitter-just", rev = "8af0aab79854aaf25b620a52c39485849922f766" } [[language]] +name = "gn" +scope = "source.gn" +injection-regex = "gn" +file-types = ["gn", "gni"] +roots = [] +comment-token = "#" +indent = { tab-width = 2, unit = " " } +formatter = { command = "gn", args = ["format", "--stdin"] } + +[[grammar]] +name = "gn" +source = { git = "https://github.com/willcassella/tree-sitter-gn", rev = "e18d6e36a79b20dafb58f19d407bd38b0e60260e" } + +[[language]] name = "blueprint" scope = "source.blueprint" injection-regex = "blueprint" |