Skip to content

Commit c132e25

Browse files
authored
Elixir and PHP now use Treesitter grammars (#5797)
1 parent 4fe16d1 commit c132e25

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

script/list-grammars

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ TREE_SITTER_GRAMMARS = {
99
"CodeQL" => "https://github.com/tree-sitter/tree-sitter-ql",
1010
"CSS" => "https://github.com/tree-sitter/tree-sitter-css",
1111
"EJS" => "https://github.com/tree-sitter/tree-sitter-embedded-template",
12+
"Elixir" => "https://github.com/elixir-lang/tree-sitter-elixir",
1213
"ERB" => "https://github.com/tree-sitter/tree-sitter-embedded-template",
1314
"Go" => "https://github.com/tree-sitter/tree-sitter-go",
1415
"HTML" => "https://github.com/tree-sitter/tree-sitter-html",
1516
"JavaScript" => "https://github.com/tree-sitter/tree-sitter-javascript",
17+
"PHP" => "https://github.com/tree-sitter/tree-sitter-php",
1618
"Python" => "https://github.com/tree-sitter/tree-sitter-python",
1719
"Ruby" => "https://github.com/tree-sitter/tree-sitter-ruby",
1820
"TypeScript" => "https://github.com/tree-sitter/tree-sitter-typescript"

vendor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
139139
- **EditorConfig:** [sindresorhus/atom-editorconfig](https://github.com/sindresorhus/atom-editorconfig)
140140
- **Edje Data Collection:** [textmate/c.tmbundle](https://github.com/textmate/c.tmbundle)
141141
- **Eiffel:** [textmate/eiffel.tmbundle](https://github.com/textmate/eiffel.tmbundle)
142-
- **Elixir:** [elixir-lang/elixir-tmbundle](https://github.com/elixir-lang/elixir-tmbundle)
142+
- **Elixir:** [elixir-lang/tree-sitter-elixir](https://github.com/elixir-lang/tree-sitter-elixir) 🐌
143143
- **Emacs Lisp:** [Alhadis/language-emacs-lisp](https://github.com/Alhadis/language-emacs-lisp)
144144
- **EmberScript:** [atom/language-coffee-script](https://github.com/atom/language-coffee-script)
145145
- **Erlang:** [textmate/erlang.tmbundle](https://github.com/textmate/erlang.tmbundle)
@@ -353,7 +353,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
353353
- **Oz:** [eregon/oz-tmbundle](https://github.com/eregon/oz-tmbundle)
354354
- **P4:** [TakeshiTseng/atom-language-p4](https://github.com/TakeshiTseng/atom-language-p4)
355355
- **PEG.js:** [Alhadis/language-grammars](https://github.com/Alhadis/language-grammars)
356-
- **PHP:** [ondrejmirtes/php.tmbundle](https://github.com/ondrejmirtes/php.tmbundle)
356+
- **PHP:** [tree-sitter/tree-sitter-php](https://github.com/tree-sitter/tree-sitter-php) 🐌
357357
- **PLpgSQL:** [textmate/sql.tmbundle](https://github.com/textmate/sql.tmbundle)
358358
- **POV-Ray SDL:** [c-lipka/language-povray](https://github.com/c-lipka/language-povray)
359359
- **Pan:** [quattor/language-pan](https://github.com/quattor/language-pan)

0 commit comments

Comments
 (0)