heavenshell / vim-jsdoc

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

Does not work on multi lines parameters #100

Closed adelin-b closed 4 years ago

adelin-b commented 4 years ago

This do not work

export const Element = ({
    open = true,
    name,
    type,
    hover,
    onClick,
}: ElementProps) => {

}

This work

export const Element = ({ open = true, name, type, hover, onClick, }: ElementProps) => {

}
heavenshell commented 4 years ago

@aars Try type v): and then type :'<,'>JsDoc. Visual select signature and run JsDoc.