mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 14:01:55 +04:00
49 lines
1.2 KiB
Scheme
49 lines
1.2 KiB
Scheme
|
(body) @function.inside
|
||
|
(recipe) @function.around
|
||
|
(expression
|
||
|
if:(expression) @function.inside
|
||
|
)
|
||
|
(expression
|
||
|
else:(expression) @function.inside
|
||
|
)
|
||
|
(interpolation (expression) @function.inside) @function.around
|
||
|
(settinglist (stringlist) @function.inside) @function.around
|
||
|
|
||
|
(call (NAME) @class.inside) @class.around
|
||
|
(dependency (NAME) @class.inside) @class.around
|
||
|
(depcall (NAME) @class.inside)
|
||
|
|
||
|
(dependency) @parameter.around
|
||
|
(depcall) @parameter.inside
|
||
|
(depcall (expression) @parameter.inside)
|
||
|
|
||
|
(stringlist
|
||
|
(string) @parameter.inside
|
||
|
. ","? @_end
|
||
|
; Commented out since we don't support `#make-range!` at the moment
|
||
|
; (#make-range! "parameter.around" @parameter.inside @_end)
|
||
|
)
|
||
|
(parameters
|
||
|
[(parameter)
|
||
|
(variadic_parameters)] @parameter.inside
|
||
|
. " "? @_end
|
||
|
; Commented out since we don't support `#make-range!` at the moment
|
||
|
; (#make-range! "parameter.around" @parameter.inside @_end)
|
||
|
)
|
||
|
|
||
|
(expression
|
||
|
(condition) @function.inside
|
||
|
) @function.around
|
||
|
(expression
|
||
|
if:(expression) @function.inside
|
||
|
)
|
||
|
(expression
|
||
|
else:(expression) @function.inside
|
||
|
)
|
||
|
|
||
|
(item [(alias) (assignment) (export) (setting)]) @class.around
|
||
|
(recipeheader) @class.around
|
||
|
(line) @class.around
|
||
|
|
||
|
(comment) @comment.around
|