From e17fb0b30b7fd06c58a6199724fe1716fde08ee1 Mon Sep 17 00:00:00 2001 From: Benjamin Van Treese Date: Mon, 1 Feb 2021 01:02:08 -0600 Subject: [PATCH] fix: revert changing default to optional in membertype expressions template. --- ftplugin/javascript.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/javascript.vim b/ftplugin/javascript.vim index 6a1eee00..6257a6cc 100644 --- a/ftplugin/javascript.vim +++ b/ftplugin/javascript.vim @@ -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',