Skip to content

Commit

Permalink
add comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Feb 22, 2024
1 parent e02dbd6 commit d6fc703
Show file tree
Hide file tree
Showing 5 changed files with 3,673 additions and 3,841 deletions.
3 changes: 1 addition & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ module.exports = grammar({
seq(
$._indent,
optional(seq($.shebang, $._newline)),
repeat(choice(seq($.recipe_line, $._newline), $._newline)),
$._newline,
repeat1(seq($.recipe_line, $._newline)),
$._dedent,
),

Expand Down
10 changes: 3 additions & 7 deletions queries/just/textobjects.scm
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
(dependency_expression
(_) @parameter.inside) @parameter.outer

(function_call
arguments: (sequence (expression) @parameter.inside) @parameter.outer) @function.outer

(comment) @comment.outer

; (expression
Expand All @@ -20,13 +23,6 @@
; (interpolation (expression) @block.inner) @block.outer
; ; (string_array (stringlist) @block.inner) @block.outer

; (call (identifier) @call.inner) @call.outer
; (dependency (identifier) @call.inner) @call.outer

; (dependency) @parameter.outer
; ; (dependency_call) @parameter.inner
; ; (dependency_call (expression) @parameter.inner)

; ; (stringlist
; ; (string) @parameter.inner
; ; . ","? @_end
Expand Down
21 changes: 4 additions & 17 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/node-types.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d6fc703

Please sign in to comment.