Skip to content

Commit

Permalink
fix: revert changing default to optional in membertype expressions te…
Browse files Browse the repository at this point in the history
…mplate.
  • Loading branch information
vantreeseba committed Feb 1, 2021
1 parent 3049d64 commit e17fb0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/javascript.vim
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ call doge#buffer#register_doc_standard('jsdoc', [
\ {
\ 'nodeTypes': ['member_expression'],
\ 'parameters': {
\ 'format': '@param %(not_redundant|{{type|!type}})% %(optional|[)%{name|!name}%(optional|])% - !description',
\ 'format': '@param %(not_redundant|{{type|!type}})% %(default|[)%{name|!name}%(default|])% - !description',
\ },
\ 'exceptions': {
\ 'format': '@throws {{name|!name}} - !description',
Expand Down

0 comments on commit e17fb0b

Please sign in to comment.