File tree 1 file changed +16
-4
lines changed 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -14,15 +14,27 @@ If you want use old version checkout [1.0.0](https://github.com/heavenshell/vim-
14
14
15
15
## Install
16
16
17
- Since version 2.0.0, jsdoc.vim requires [ lehre ] ( https://www.npmjs.com/package/lehre ) .
17
+ ### Vim Plug
18
18
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:
20
31
21
32
``` console
33
+ # cd to < vim-jsdoc path>
22
34
make install
23
35
```
24
36
25
- If you want to update ` lehre ` hit following commands.
37
+ If you want to update ` lehre ` use:
26
38
27
39
``` console
28
40
make clean
@@ -35,7 +47,7 @@ If you want install lehre manually, you can install from npm.
35
47
$ yarn add -D lehre
36
48
```
37
49
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 ` .
39
51
40
52
## Usage
41
53
You can’t perform that action at this time.
0 commit comments