Skip to content

titan/tree-sitter-carp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tree-sitter-carp

Tree-sitter parser for Carp language.

Highlights

screenshot

Install

Helix

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 build

After 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/carp

Finally, open carp files in helix and enjoy it. :-)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors