Skip to content

Commit cdae55e

Browse files
committed
Improve PLIST file detection
1 parent 952d8f0 commit cdae55e

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,17 +123,28 @@
123123
"ASCII PLIST TextMate"
124124
],
125125
"extensions": [
126+
".textmate",
126127
".tmLanguage",
127128
".tmLanguage.plist",
128-
".textmate"
129+
".tm-grammar.plist",
130+
".property-list",
131+
".plist"
129132
],
130-
"firstLine": "^\\s*{\\s*\\w+\\s*=",
133+
"firstLine": "^\\s*{\\s*\\w+\\s*=\\s*.*$",
131134
"configuration": "./language-configurations/plist.language-configuration.json",
132135
"icon": {
133136
"dark": "assets/TextMate-file-icon.svg",
134137
"light": "assets/TextMate-file-icon.svg"
135138
}
136139
},
140+
{
141+
"id": "xml",
142+
"extensions": [
143+
".tmLanguage",
144+
".tmGrammar",
145+
".plist"
146+
]
147+
},
137148
{
138149
"id": "textmate-scopes",
139150
"aliases": [

0 commit comments

Comments
 (0)