Skip to content

Conversation

@ryanoasis
Copy link
Contributor

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'

* currently for: @returns, @param, @function, @Class
* originally discussed on PR heavenshell#23 (... plural form of '@return')
* makes '@returns' the default per JSDoc
@heavenshell
Copy link
Owner

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

@ryanoasis
Copy link
Contributor Author

No problem and no rush. Thanks 😄

heavenshell added a commit that referenced this pull request Dec 14, 2015
Adds support for tag synonyms
@heavenshell heavenshell merged commit 3d4b0e4 into heavenshell:master Dec 14, 2015
@heavenshell
Copy link
Owner

@ryanoasis
Very nice!!
Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants