Skip to content

Commit

Permalink
change manager key, update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fcannizzaro committed Jun 29, 2017
1 parent 5281546 commit 3dcbbc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ auto install npm modules, show npm icons, autocomplete require, open npmjs docum

| key | default | action |
|-----------------------|:-------------:|---------------------------------------------------|
| `npm_install_on_save` | **true** | auto-install node modules **on save**. |
| `npm_autocomplete` | **true** | autocomplete node modules's require. |
| `npm_manager` | **"npm"** | javascript package manager: `npm`, `yarn`, `pnpm` |
| `npm_install_on_save` | **true** | auto-install node modules **on save**. |
| `npm_install_manager` | **"npm"** | javascript package manager: `npm`, `yarn`, `pnpm` |
2 changes: 1 addition & 1 deletion npm-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, module, root, action, view):
self.root = root
self.action = action
self.view = view
self.mng = view.settings().get('npm_manager', 'npm')
self.mng = view.settings().get('npm_install_manager', 'npm')
if self.mng == 'yarn':
self.action = 'add' if action == 'install' else 'remove'
threading.Thread.__init__(self)
Expand Down

0 comments on commit 3dcbbc4

Please sign in to comment.