Tree-sitter parser for Carp language.
Add the following to your languages.toml
[[language]]
name = "carp"
scope = "source.carp"
file-types = ["carp"]
comment-token = ";"
indent = {tab-width = 2, unit = " "}
roots = []
[[grammar]]
name = "carp"
source = {git = "https://github.com/titan/tree-sitter-carp", rev = "master"}and
use-grammars = {only = [..., "carp"]}Then build the parser
helix --grammar fetch
helix --grammar buildAfter that, go to helix runtime directory, and copy highlight query files to queries directory
cd /var/lib/helix/runtime/
cp -r grammars/sources/carp/queries queries/carpFinally, open carp files in helix and enjoy it. :-)
