mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Add basic perl TS matches
This commit is contained in:
10
after/queries/perl/matchup.scm
Normal file
10
after/queries/perl/matchup.scm
Normal file
@@ -0,0 +1,10 @@
|
||||
(if_statement
|
||||
"if" @open.if
|
||||
"elsif"? @mid.if.1
|
||||
"else"? @mid.if.2
|
||||
) @scope.if
|
||||
|
||||
(function_definition
|
||||
"sub" @open.fun
|
||||
) @scope.fun
|
||||
(return_expression "return" @mid.fun.1)
|
||||
Reference in New Issue
Block a user