We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad133ec commit 88ac3abCopy full SHA for 88ac3ab
highlight/README.md
@@ -12,8 +12,8 @@ to parse, to your `Cargo.toml`:
12
13
```toml
14
[dependencies]
15
-tree-sitter-highlight = "0.22.0"
16
-tree-sitter-javascript = "0.21.3"
+tree-sitter-highlight = "0.25.4"
+tree-sitter-javascript = "0.23.1"
17
```
18
19
Define the list of highlight names that you will recognize:
@@ -63,7 +63,7 @@ Load some highlighting queries from the `queries` directory of the language repo
63
```rust
64
use tree_sitter_highlight::HighlightConfiguration;
65
66
-let javascript_language = tree_sitter_javascript::language();
+let javascript_language = tree_sitter_javascript::LANGUAGE.into();
67
68
let mut javascript_config = HighlightConfiguration::new(
69
javascript_language,
0 commit comments