Skip to content

Commit b302feb

Browse files
committed
Include more extensions for syntax highlighting.
Add '.sc2', '.vc2', '.mn2', and '.pj2'
1 parent e3249f7 commit b302feb

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

foxpro/package.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,18 @@
1414
"languages": [{
1515
"id": "foxpro",
1616
"aliases": ["foxpro", "Visual FoxPro", "VFP"],
17-
"extensions": [".prg", ".PRG"],
17+
"extensions": [
18+
".prg",
19+
".PRG",
20+
".sc2",
21+
".SC2",
22+
".vc2",
23+
".VC2",
24+
".mn2",
25+
".MN2",
26+
".pj2",
27+
".PJ2"
28+
],
1829
"configuration": "./foxpro.configuration.json"
1930
}],
2031
"grammars": [{

foxpro/syntaxes/foxpro.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
<key>fileTypes</key>
88
<array>
99
<string>prg</string>
10+
<string>sc2</string>
11+
<string>vc2</string>
12+
<string>mn2</string>
13+
<string>pj2</string>
1014
</array>
1115
<key>keyEquivalent</key>
1216
<string>^~A</string>

foxpro/syntaxes/foxpro.tmLanguage

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
<key>fileTypes</key>
66
<array>
77
<string>prg</string>
8+
<string>sc2</string>
9+
<string>vc2</string>
10+
<string>mn2</string>
11+
<string>pj2</string>
812
</array>
913
<key>name</key>
1014
<string>FoxPro</string>

0 commit comments

Comments
 (0)