From b7cecd46a069e035a2353e9ef413a20757a3b740 Mon Sep 17 00:00:00 2001 From: Jeff Date: Mon, 28 Aug 2023 14:20:19 -0400 Subject: [PATCH] Write README --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9322066 --- /dev/null +++ b/README.md @@ -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/ \ No newline at end of file