Skip to content

Commit 8483e63

Browse files
committed
Add more lock-file aliases
1 parent fff81fb commit 8483e63

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

icons/icons.json

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,7 +1858,30 @@
18581858
"file_type_lock": {
18591859
"aliases": [
18601860
{
1861-
"base": "text.plain",
1861+
"base": "source.json",
1862+
"extensions": [
1863+
"package-lock.json"
1864+
],
1865+
"name": "JSON (Lock)",
1866+
"scope": "source.json.lock"
1867+
},
1868+
{
1869+
"base": "source.toml",
1870+
"extensions": [
1871+
"uv.lock"
1872+
],
1873+
"name": "TOML (Lock)",
1874+
"scope": "source.toml.lock"
1875+
},
1876+
{
1877+
"base": "source.yaml",
1878+
"extensions": [
1879+
"yarn.lock"
1880+
],
1881+
"name": "YAML (Lock)",
1882+
"scope": "source.yaml.lock"
1883+
},
1884+
{
18621885
"extensions": [
18631886
"Gemfile.lock",
18641887
"Berksfile.lock"
@@ -2192,7 +2215,6 @@
21922215
{
21932216
"base": "source.json",
21942217
"extensions": [
2195-
"package-lock.json",
21962218
"package.json"
21972219
],
21982220
"name": "JSON (NPM)",
@@ -4088,8 +4110,7 @@
40884110
"base": "source.yaml",
40894111
"extensions": [
40904112
".yarnrc.yaml",
4091-
".yarnrc.yml",
4092-
"yarn.lock"
4113+
".yarnrc.yml"
40934114
],
40944115
"name": "YAML (Yarn)",
40954116
"scope": "source.yaml.yarn"

preferences/file_type_lock.tmPreferences

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<plist version="1.0">
33
<dict>
44
<key>scope</key>
5-
<string>text.plain.lock</string>
5+
<string>source.json.lock, source.toml.lock, source.yaml.lock, text.plain.lock</string>
66
<key>settings</key>
77
<dict>
88
<key>icon</key>

tests/uv.lock

Whitespace-only changes.

0 commit comments

Comments
 (0)