Add support for Pascal (#2153)

* Add support for Pascal

* Pascal: Replace some of the capture groups, use lua-match where possible
This commit is contained in:
Isopod 2021-12-24 19:53:32 +01:00 committed by GitHub
parent b99f46c735
commit 9174b095b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 477 additions and 0 deletions

View file

@ -0,0 +1,32 @@
[
(statement)
(declVars)
(declConsts)
(declTypes)
(declProc)
(declArgs)
(declUses)
(declClass)
(exprArgs)
(exprSubscript)
(exprBrackets)
(exprParens)
(recInitializer)
(arrInitializer)
(defaultValue)
] @indent
(defProc (block) @indent)
[
(kEnd)
(kFinally)
(kDo)
(kUntil)
(kExcept)
(kElse)
(kThen)
(declSection)
"]"
")"
] @branch