forked from helix-editor/helix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ledger tree-sitter (helix-editor#572)
Might need to update later since the current one highlight does not work very well yet.
- Loading branch information
Showing
5 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule tree-sitter-ledger
added at
723195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[ | ||
(comment) | ||
(note) | ||
] @comment | ||
|
||
[ | ||
(date) | ||
(interval) | ||
(quantity) | ||
] @number | ||
|
||
((account) @field) | ||
((commodity) @text.literal) | ||
|
||
"include" @include | ||
|
||
[ | ||
"account" | ||
"alias" | ||
"assert" | ||
"check" | ||
"commodity" | ||
"def" | ||
"default" | ||
"end" | ||
"eval" | ||
"format" | ||
"nomarket" | ||
"note" | ||
"payee" | ||
"check" | ||
"A" | ||
"Y" | ||
"N" | ||
"D" | ||
"C" | ||
"P" | ||
] @keyword |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
(comment) @comment |