mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-06 04:17: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
23
runtime/queries/matlab/indents.scm
Normal file
23
runtime/queries/matlab/indents.scm
Normal file
|
@ -0,0 +1,23 @@
|
|||
[
|
||||
(if_statement)
|
||||
(for_statement)
|
||||
(while_statement)
|
||||
(switch_statement)
|
||||
(try_statement)
|
||||
(function_definition)
|
||||
(class_definition)
|
||||
(enumeration)
|
||||
(events)
|
||||
(methods)
|
||||
(properties)
|
||||
] @indent
|
||||
|
||||
[
|
||||
(elseif_clause)
|
||||
(else_clause)
|
||||
(case_clause)
|
||||
(otherwise_clause)
|
||||
(catch_clause)
|
||||
] @indent @extend
|
||||
|
||||
[ "end" ] @outdent
|
Loading…
Add table
Add a link
Reference in a new issue