Remove TreeSitterConfig.name from documentation
TreeSitterConfig doesn't seem to have the `name` attribute, anymore.
I discovered this discrepancy while integrating Markdown language parser
in PR
@@ -51,7 +51,6 @@ Add an entry to `tree_sitter_parser.rs` for your language.
Json => {
let language = unsafe { tree_sitter_json() };
TreeSitterConfig {
- name: "JSON",
language,
atom_nodes: vec!["string"].into_iter().collect(),
delimiter_tokens: vec![("{", "}"), ("[", "]")],
@@ -64,8 +63,6 @@ Json => {
}
```
-`name` is the human-readable name shown in the UI.
-
`atom_nodes` is a list of tree-sitter node names that should be
treated as atoms even though the nodes have children. This is common
for things like string literals or interpolated strings, where the
