Browse Source

Add JsDoc plugin

coc
Schneider 7 years ago
parent
commit
755a3245a6
  1. 1
      vim/ftplugin/javascript.vim
  2. 3
      vimrc.symlink

1
vim/ftplugin/javascript.vim

@ -5,3 +5,4 @@ set autoread
set tabstop=2
set shiftwidth=2

3
vimrc.symlink

@ -49,6 +49,7 @@ Plug 'othree/yajs.vim', { 'for': 'javascript' } " JavaScript syntax plugin
Plug 'othree/es.next.syntax.vim', { 'for': 'javascript' } " ES6 and beyond syntax
Plug 'ternjs/tern_for_vim', { 'for': 'javascript', 'do': 'npm install' } " Ternjs for vim
Plug 'https://github.com/othree/jspc.vim', { 'for': 'javascript' } " Function parameter completion
Plug 'heavenshell/vim-jsdoc', { 'for': 'javascript' } " Generate JSDoc comments
Plug 'posva/vim-vue', { 'for': [ 'javascript', 'html' ] } " vue.js integration
" Go
@ -228,7 +229,7 @@ xmap <C-k> <Plug>(neosnippet_expand_target)
" \ neosnippet#expandable_or_jumpable() ?
" \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
" For conceal markers.
if has('conceal')

Loading…
Cancel
Save