heavenshell / vim-jsdoc

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

Missing @param around single function argument on ES6 shorthand function #61

Closed rpereira closed 7 years ago

rpereira commented 8 years ago

With parens around single argument:

/**
 * updateVPNStatus
 *
 * @param newStatus
 * @returns {undefined}
 */
const updateVPNStatus = (newStatus) => ...

Without:

/**
 * 
 *
 * @returns {undefined}
 */
const updateVPNStatus = newStatus => ...
heavenshell commented 8 years ago

@rpereira Thx for reporting.

rpereira commented 8 years ago

@heavenshell 👍

heavenshell commented 7 years ago

@rpereira Sorry for late response. I just fixed this issue. Could you try?

rpereira commented 7 years ago

45c7c7c fixes the issue. Thanks @heavenshell.