heavenshell / vim-jsdoc

Generate JSDoc to your JavaScript code.
BSD 3-Clause "New" or "Revised" License
452 stars 44 forks source link

Adds support for tag synonyms #45

Closed ryanoasis closed 8 years ago

ryanoasis commented 8 years ago

Not sure if/how you want to version bump, also this would change the default from 'return' to 'returns' so I am not sure if you want to change the default back (I went with what looked to be the default on JSDoc website).

I tested a few method types with and without some vimrc settings:

" test synonyms
let g:jsdoc_tags = {}
let g:jsdoc_tags['param'] = 'arg'
let g:jsdoc_tags['returns'] = 'return'
heavenshell commented 8 years ago

@ryanoasis Thank you so much!! I'll look your PR this week end.

ryanoasis commented 8 years ago

No problem and no rush. Thanks :smile:

heavenshell commented 8 years ago

@ryanoasis Very nice!! Thank you so much!