Skip to content

Commit ca3c880

Browse files
authored
Merge pull request #91 from JonDum/patch-2
Update README.md
2 parents f541124 + 13a6376 commit ca3c880

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,27 @@ If you want use old version checkout [1.0.0](https://github.com/heavenshell/vim-
1414

1515
## Install
1616

17-
Since version 2.0.0, jsdoc.vim requires [lehre](https://www.npmjs.com/package/lehre).
17+
### Vim Plug
1818

19-
You can install following command.
19+
```
20+
Plug 'heavenshell/vim-jsdoc', {
21+
\ 'for': ['javascript', 'javascript.jsx','typescript'],
22+
\ 'do': 'make install'
23+
\}
24+
```
25+
26+
### Manual Installation
27+
28+
Since version 2.0.0, jsdoc.vim requires a local copy [lehre](https://www.npmjs.com/package/lehre) installed to the plugin directory.
29+
30+
You can install lehre with:
2031

2132
```console
33+
# cd to <vim-jsdoc path>
2234
make install
2335
```
2436

25-
If you want to update `lehre` hit following commands.
37+
If you want to update `lehre` use:
2638

2739
```console
2840
make clean
@@ -35,7 +47,7 @@ If you want install lehre manually, you can install from npm.
3547
$ yarn add -D lehre
3648
```
3749

38-
Than set installed `/path/to/node_modules/.bin/lehre` path to `g:jsdoc_lehre_path`.
50+
Then set installed `/path/to/node_modules/.bin/lehre` path to `g:jsdoc_lehre_path`.
3951

4052
## Usage
4153

0 commit comments

Comments
 (0)