Write README
This commit is contained in:
parent
7c05e5976b
commit
b7cecd46a0
22
README.md
Normal file
22
README.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# tree-sitter-dust
|
||||||
|
|
||||||
|
Tree sitter implementation for the Dust programming language.
|
||||||
|
|
||||||
|
This repository is used to enable sytax highlighting and other developer-friendly features for Dust. To use this repository with [Helix], clone it and add the following to your `languages.toml` file.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[[language]]
|
||||||
|
name = "dust"
|
||||||
|
scope = "source.dust"
|
||||||
|
injection-regex = "dust"
|
||||||
|
file-types = ["ds", "dust"]
|
||||||
|
roots = [".git"]
|
||||||
|
comment-token = "#"
|
||||||
|
grammar = "dust"
|
||||||
|
|
||||||
|
[[grammar]]
|
||||||
|
name = "dust"
|
||||||
|
source.path = "/path/to/tree-sitter-dust"
|
||||||
|
```
|
||||||
|
|
||||||
|
[Helix]: https://helix-editor.com/
|
Loading…
Reference in New Issue
Block a user