spadgos / sublime-jsdocs

Simplifies writing DocBlock comments in Javascript, PHP, CoffeeScript, Actionscript, C & C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The return tag 'yield' does not respect description alignment

shardulm94 opened this issue · comments

When I create a docblock on a generator function, the description tag is aligned with the parameters above it and not other descriptions.

Actual output:

/**
 * [*foo description]
 * @param {[type]} bar           [description]
 * @param {[type]} baz           [description]
 * @yield {[type]} [description]
 */
function *foo(bar, baz) { }

Expected output:

/**
 * [*foo description]
 * @param {[type]} bar [description]
 * @param {[type]} baz [description]
 * @yield {[type]}     [description]
 */
function *foo(bar, baz) { }