From 4ef7fb32c1d4eded45fea09b806fd1cbe4ab8e53 Mon Sep 17 00:00:00 2001 From: Colin Seymour Date: Thu, 22 Jun 2023 11:05:55 +0000 Subject: [PATCH] Update list of tree-sitter grammars --- script/list-grammars | 4 ++++ vendor/README.md | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/script/list-grammars b/script/list-grammars index 1f0da61c32..cbc39bee34 100755 --- a/script/list-grammars +++ b/script/list-grammars @@ -6,6 +6,8 @@ require "json" require "yaml" TREE_SITTER_GRAMMARS = { + "C" => "https://github.com/tree-sitter/tree-sitter-c", + "C#" => "https://github.com/tree-sitter/tree-sitter-c-sharp", "CodeQL" => "https://github.com/tree-sitter/tree-sitter-ql", "CSS" => "https://github.com/tree-sitter/tree-sitter-css", "EJS" => "https://github.com/tree-sitter/tree-sitter-embedded-template", @@ -16,8 +18,10 @@ TREE_SITTER_GRAMMARS = { "HTML" => "https://github.com/tree-sitter/tree-sitter-html", "Java" => "https://github.com/tree-sitter/tree-sitter-java", "JavaScript" => "https://github.com/tree-sitter/tree-sitter-javascript", + "Nix" => "https://github.com/nix-community/tree-sitter-nix", "PHP" => "https://github.com/tree-sitter/tree-sitter-php", "Python" => "https://github.com/tree-sitter/tree-sitter-python", + "Regular Expression" => "https://github.com/tree-sitter/tree-sitter-regex", "Ruby" => "https://github.com/tree-sitter/tree-sitter-ruby", "Rust" => "https://github.com/tree-sitter/tree-sitter-rust", "TLA" => "https://github.com/tlaplus-community/tree-sitter-tlaplus", diff --git a/vendor/README.md b/vendor/README.md index 9573beccf2..3834626fca 100644 --- a/vendor/README.md +++ b/vendor/README.md @@ -67,8 +67,8 @@ This is a list of grammars that Linguist selects to provide syntax highlighting - **BrighterScript:** [rokucommunity/vscode-brightscript-language](https://github.com/rokucommunity/vscode-brightscript-language) - **Brightscript:** [rokucommunity/vscode-brightscript-language](https://github.com/rokucommunity/vscode-brightscript-language) - **Browserslist:** [browserslist/browserslist-vscode](https://github.com/browserslist/browserslist-vscode) -- **C:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle) -- **C#:** [dotnet/csharp-tmLanguage](https://github.com/dotnet/csharp-tmLanguage) +- **C:** [tree-sitter/tree-sitter-c](https://github.com/tree-sitter/tree-sitter-c) 🐌 +- **C#:** [tree-sitter/tree-sitter-c-sharp](https://github.com/tree-sitter/tree-sitter-c-sharp) 🐌 - **C++:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle) - **C-ObjDump:** [nanoant/assembly.tmbundle](https://github.com/nanoant/assembly.tmbundle) - **C2hs Haskell:** [atom-haskell/language-haskell](https://github.com/atom-haskell/language-haskell) @@ -366,7 +366,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting - **Nim:** [nim-lang/NimLime](https://github.com/nim-lang/NimLime) - **Ninja:** [khyo/language-ninja](https://github.com/khyo/language-ninja) - **Nit:** [R4PaSs/Sublime-Nit](https://github.com/R4PaSs/Sublime-Nit) -- **Nix:** [sambacha/nix-linguist](https://github.com/sambacha/nix-linguist) +- **Nix:** [nix-community/tree-sitter-nix](https://github.com/nix-community/tree-sitter-nix) 🐌 - **Nu:** [jsallis/nu.tmbundle](https://github.com/jsallis/nu.tmbundle) - **Nunjucks:** [alohaas/language-nunjucks](https://github.com/alohaas/language-nunjucks) - **Nushell:** [hustcer/nu-grammar](https://github.com/hustcer/nu-grammar) @@ -464,7 +464,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting - **Record Jar:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc) - **Red:** [Oldes/Sublime-Red](https://github.com/Oldes/Sublime-Red) - **Redirect Rules:** [Nixinova/NovaGrammars](https://github.com/Nixinova/NovaGrammars) -- **Regular Expression:** [Alhadis/language-regexp](https://github.com/Alhadis/language-regexp) +- **Regular Expression:** [tree-sitter/tree-sitter-regex](https://github.com/tree-sitter/tree-sitter-regex) 🐌 - **Ren'Py:** [williamd1k0/language-renpy](https://github.com/williamd1k0/language-renpy) - **Rich Text Format:** [nwhetsell/language-rtf](https://github.com/nwhetsell/language-rtf) - **Ring:** [MahmoudFayed/atom-language-ring](https://github.com/MahmoudFayed/atom-language-ring)