heavenshell/vim-jsdoc — pull request #13 by ryanoasis (2014-11-28 02:36:46+00:00)
Title: Fixes: Generated comment block doesn't follow whitespace settings (tabs vs. spaces) #11

This should fix "Generated comment block doesn't follow whitespace settings (tabs vs. spaces) #11"

Also added these flags (and you can see the example effects below):

```
/**
* g:jsdoc_access_descriptions = 1
* g:jsdoc_underscore_private = 1
*/

/**
* my function
*
* @public
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function myFunction(x, y) {
}

/**
* my function 2
*
* @private
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function _myFunction2(x, y) {
}

/**
* g:jsdoc_access_descriptions = 2
* g:jsdoc_underscore_private = 1
*/

/**
* my function
*
* @access public
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function myFunction(x, y) {
}

/**
* my function 2
*
* @access private
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function _myFunction2(x, y) {
}

/**
* g:jsdoc_access_descriptions = 2
* g:jsdoc_underscore_private = 0
*/

/**
* my function
*
* @access public
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function myFunction(x, y) {
}

/**
* my function 2
*
* @access public
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function _myFunction2(x, y) {
}

/**
* g:jsdoc_access_descriptions = 0
* g:jsdoc_underscore_private = 0
*/

/**
* my function
*
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function myFunction(x, y) {
}

/**
* my function 2
*
* @param {number} x x coor
* @param {number} y y coor
* @return {undefined}
*/
function _myFunction2(x, y) {
}
```