Skip to content

Commit f12f1af

Browse files
authored
Merge pull request #86 from apozharski/master
Allow for function calls within brace validation lists
2 parents 91205a3 + 4bda0c1 commit f12f1af

File tree

4 files changed

+64
-42
lines changed

4 files changed

+64
-42
lines changed

Matlab.tmbundle/Syntaxes/MATLAB.tmLanguage

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2792,6 +2792,10 @@
27922792
</dict>
27932793
<key>patterns</key>
27942794
<array>
2795+
<dict>
2796+
<key>include</key>
2797+
<string>#function_call</string>
2798+
</dict>
27952799
<dict>
27962800
<key>include</key>
27972801
<string>#braced_validator_list</string>

test/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ The tests in this directory leverage:
44

55
https://github.com/PanAeon/vscode-tmgrammar-test
66

7+
# Test requirements
8+
9+
The tests require xmllint which can be installed (on apt using linux distros) using
10+
```bash
11+
sudo apt install libxml2-utils
12+
```
13+
714
# Running the tests
815

916
From the root of the repo

0 commit comments

Comments
 (0)