Closed IonicaBizau closed 9 years ago
let g:jsdoc_enable_es6=1
class Parser {
constructor (app) {
...
}
// This should be able to generate a nice comment
/**
* parse
*
* @param {function} cb The callback function.
* @return {undefined}
*/
parse (cb) {
...
}
}
Ohhh, thanks!! :dizzy:
I love so much this plugin! :smile:
@heavenshell This looks broken––I did enable es6 using let g:jsdoc_enable_es6=1
.
Any ideas?
@IonicaBizau I can't reproduced it.
Can you show me your vimrc(jsdoc.vim settings) and step to reploduce?
@IonicaBizau
Copy your vimrc settings, move to parse (cb)
line, exec :JsDoc
and hit all enter.
But still can't reploduce it.
@heavenshell Hmm, thanks. Will try to debug the problem. It does work on my desktop computer, but not on my laptop. I did NeoBundleUpdate
and still no change...
@IonicaBizau Thx. What the difference between your laptop and desktop. vimrc, other Vim plugin or Vim version etc.
I did NeoBundleUpdate and still no change...
JSDoc.vim has no dependency to other plugin, but if conflicted, please let me know.
@heavenshell Finally I solved this problem. I couldn't find any difference between my desktop and laptop, but I refactored my .vimrc
from scratch and the issue disappeared. Thanks once again for this amazing plugin! :sparkles:
@IonicaBizau Nice to hear that. Thx.
Is this a known issue or it's something that needs to be improved?