Closed mhartington closed 7 years ago
@mhartington Thx for reporting. Hmm, it strange.
I could not reproduce your problem.
$ vim test/test.ts
gg:JsDoc
/**
* foo
*
* @param {string} foo
* @param {number} bar
* @returns {string}
*/
function foo(foo: string = 'foo', bar: number = 1): string {
return 'foo'
}
What about if you add on_ft
option?
call dein#add('heavenshell/vim-jsdoc', {'on_ft': ['javascript', 'typescript']})
p.s. I don't use any third party plugin manger.
Hmm, odd, did some tweaking of my rc and minimal rc and now it's working. Sorry for the noise!
@mhartington np, thx for reporting and using my plugin!
Hi there! It seems some changes in via https://github.com/heavenshell/vim-jsdoc/commit/45c7c7cef440a29f7bf24436640413e3d5d578ff now prevent typescript support.
When starting a sample js file, I can call
:JsDoc
But when using typescript, I getE492: Not an editor command: JsDoc
minimal vim that produces it.