heavenshell / vim-jsdoc

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

jsdoc.vim v2.0.0 #81

Closed heavenshell closed 4 years ago

heavenshell commented 4 years ago

Hello, jsdoc.vim users. I'm sorry for long time no update and response.

I'm currently working on jsdoc.vim v2.0.0

What's new

For example.

const foo = (arg1: (arg1: { foo: string, bar: number }) => string, arg2: number) => {}

will generate like following.

/**
 * foo.
 *
 * @param {Function} arg1
 * @param {number} arg2
 */
const foo = (arg1: (arg1: { foo: string, bar: number }) => string, arg2: number) => {}

Deprecate

v2.0.0 will Deprecate all g:jsdoc_* variables. interactive mode is also deprecate but you can use snippet plugin and custmaized template to insert document interactive.

Current version is too much global variables. v2.x will be less global variables.

Support Vim version

First release of v2.0.0 will only support Vim8. I know some of user use Neovim, but I don't have Neovim env and knowledges. So after release v2.0.0, If you want to use in Neovim, please send me PR.

Release date

TBA. Hopefully I will release in near future.

Stay safe and take care.

Kapture 2020-04-18 at 17 45 46

heavenshell commented 4 years ago

https://github.com/heavenshell/vim-jsdoc/pull/82

glepnir commented 4 years ago

why not support neovim? ..Hope can support it.

heavenshell commented 4 years ago

@glepnir Thx for comment. Because I don't have any Neovim env and knowledge. PRs are welcome.