Fix Tree-sitter link in documentation (#51370)
This commit is contained in:
1 parent
6a8dfcd106
commit
4d3ae1fb6d
1 file changed
+1
-1
@@ -52,7 +52,7 @@ TBD: Document `language_name/config.toml` keys
|
||||
|
||||
## Grammar
|
||||
|
||||
Zed uses the [Tree-sitter](https://tree-sitter.github.io) parsing library to provide built-in language-specific features. There are grammars available for many languages, and you can also [develop your own grammar](https://tree-sitter.github.io/tree-sitter/creating-parsers#writing-the-grammar). A growing list of Zed features are built using pattern matching over syntax trees with Tree-sitter queries. As mentioned above, every language that is defined in an extension must specify the name of a Tree-sitter grammar that is used for parsing. These grammars are then registered separately in extensions' `extension.toml` file, like this:
|
||||
Zed uses the [Tree-sitter](https://tree-sitter.github.io) parsing library to provide built-in language-specific features. There are grammars available for many languages, and you can also [develop your own grammar](https://tree-sitter.github.io/tree-sitter/creating-parsers/3-writing-the-grammar.html). A growing list of Zed features are built using pattern matching over syntax trees with Tree-sitter queries. As mentioned above, every language that is defined in an extension must specify the name of a Tree-sitter grammar that is used for parsing. These grammars are then registered separately in extensions' `extension.toml` file, like this:
|
||||
|
||||
```toml
|
||||
[grammars.gleam]
|
||||
|
||||
Reference in new issue
Block a user