Skip to content

Commit 005a91f

Browse files
committed
Fixed python writer.
1 parent 7969b88 commit 005a91f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docstr-writers.el

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,10 @@ Argument START is the starting point ot the insertion."
401401
(setq param-vars (remove "self" param-vars)
402402
param-var-len (length param-vars))
403403
;; Line break between description and tags.
404-
(unless (= param-var-len 0) (insert prefix))
404+
(unless (= param-var-len 0)
405+
(insert prefix) (insert prefix)
406+
(indent-for-tab-command)
407+
(forward-line -1))
405408
(docstr-writers--insert-param param-types param-vars prefix)
406409
(docstr-writers--insert-return return-type-str '("void") prefix)
407410
(docstr-writers-after start)))

0 commit comments

Comments
 (0)