mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Add elm TS queries, fixes #167
This commit is contained in:
16
after/queries/elm/matchup.scm
Normal file
16
after/queries/elm/matchup.scm
Normal file
@@ -0,0 +1,16 @@
|
||||
(if_else_expr
|
||||
. "if" @open.if) @scope.if
|
||||
|
||||
(if_else_expr
|
||||
"else" @_else
|
||||
"if"? @_if
|
||||
(#make-range! "mid.if.1" @_else @_if))
|
||||
|
||||
(let_in_expr
|
||||
"let" @open.let
|
||||
"in" @mid.let.1) @scope.let
|
||||
|
||||
(case_of_expr
|
||||
(case) @open.case
|
||||
(case_of_branch
|
||||
(arrow) @mid.case.1)) @scope.case
|
||||
Reference in New Issue
Block a user