Skip to content

Commit

Permalink
Add test for call without parens
Browse files Browse the repository at this point in the history
  • Loading branch information
DecimalTurn committed Nov 26, 2024
1 parent 306fd52 commit 78a4a7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions syntaxes/tests/vba/procedure.bas
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,7 @@ End Function
Call mSub()
' <---- keyword.other.vba
' ^^^^ entity.name.function.vba

Call SubWithNoArgs
' <---- keyword.other.vba
' ^^^^^^^^^^^^^ entity.name.function.vba
2 changes: 1 addition & 1 deletion syntaxes/vba.yaml-tmlanguage
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ repository:
patterns:
- name: entity.name.function.vba
match: (?i:\b([a-zA-Z][a-zA-Z0-9_]*)\b)
end: \(
end: \(|(?=\n)

keywords:
patterns:
Expand Down

0 comments on commit 78a4a7d

Please sign in to comment.