Skip to content

Commit

Permalink
Fix .npmrc syntax alias (#86)
Browse files Browse the repository at this point in the history
As it's actually INI.
  • Loading branch information
mataha committed Dec 27, 2023
1 parent 9409018 commit e93983f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions icons/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -2099,12 +2099,20 @@
{
"base": "source.shell",
"extensions": [
".npmignore",
".npmrc"
".npmignore"
],
"name": "Shell Script (NPM)",
"scope": "source.shell.npm"
},
{
"base": "source.ini",
"extensions": [
".npmrc",
"npmrc"
],
"name": "Plain Text (NPM)",
"scope": "source.ini.npm"
},
{
"base": "source.json",
"extensions": [
Expand Down
2 changes: 1 addition & 1 deletion preferences/file_type_npm.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.json.npm, source.shell.npm</string>
<string>source.ini.npm, source.json.npm, source.shell.npm</string>
<key>settings</key>
<dict>
<key>icon</key>
Expand Down
Empty file added tests/npmrc
Empty file.

0 comments on commit e93983f

Please sign in to comment.