File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 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-
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>
2234make install
2335```
2436
25- If you want to update ` lehre ` hit following commands.
37+ If you want to update ` lehre ` use:
2638
2739``` console
2840make 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
You can’t perform that action at this time.
0 commit comments