We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dfabd6 commit e064045Copy full SHA for e064045
docstr-util.el
@@ -137,8 +137,10 @@ and GREEDY."
137
;;
138
139
(cl-defun docstr-util-default-format
140
- (&key (fmt-type "{ %s }") (fmt-var "%s :") (param "@param ") (ret "@return "))
+ (&key (fmt-type "{ %s }") (fmt-var "%s :") (param "@param") (ret "@return"))
141
"Set default format for document string."
142
+ (when param (setq param (concat param " ")))
143
+ (when ret (setq ret (concat ret " ")))
144
(setq-local
145
docstr-format-type fmt-type
146
docstr-format-var fmt-var
0 commit comments