forked from IndianBoy42/tree-sitter-just
-
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.
- Loading branch information
Showing
17 changed files
with
7,804 additions
and
5,063 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ on: | |
pull_request: | ||
push: | ||
|
||
# grep MISSING and ERROR | ||
|
||
jobs: | ||
deno: | ||
name: Deno format and lint | ||
|
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,20 @@ | ||
#!/usr/bin/env python3 | ||
"""Generate NeoVim queries. | ||
Everything in `queries/` uses tree-sitter syntax, as defined at | ||
<https://tree-sitter.github.io/tree-sitter/syntax-highlighting#theme>. However, NVim | ||
has a slightly different syntax. | ||
This file performs conversions so two sets of files don't need to be maintained. | ||
<https://docs.helix-editor.com/master/themes.html#syntax-highlighting> has a bit better | ||
guide for these parameters than tree-sitter does. | ||
""" | ||
|
||
REPLACEMENTS = [ | ||
("@local.definition", "@definition.variable"), | ||
("@constants.builtin.boolean", "@boolean"), | ||
("@keyword.control.conditional", "@conditional"), | ||
("@variable.parameter", "@parameter"), | ||
] |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
(body) @fold | ||
; Define collapse points | ||
|
||
(recipe) @fold | ||
(recipe_body) @fold | ||
(interpolation) @fold | ||
(item (_) @fold) |
Oops, something went wrong.