mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 11:57:43 +03:00
Replace MATLAB grammar (#7388)
This commit is contained in:
parent
842518ccb7
commit
2c5288dafb
9 changed files with 223 additions and 88 deletions
9
runtime/queries/matlab/textobjects.scm
Normal file
9
runtime/queries/matlab/textobjects.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
(arguments ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||||
(function_arguments ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
|
||||
|
||||
(lambda expression: (_) @function.inside) @function.around
|
||||
(function_definition (block) @function.inside) @function.around
|
||||
|
||||
(class_definition) @class.inside @class.around
|
||||
|
||||
(comment) @comment.inside @comment.around
|
Loading…
Add table
Add a link
Reference in a new issue