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 a062c77 commit cd81fa4Copy full SHA for cd81fa4
docstr-key.el
@@ -75,7 +75,7 @@ conditions."
75
76
(defun docstr-key-single-line-prefix-insertion ()
77
"Insertion for single line comment."
78
- (when (docstr-util-current-line-empty-p)
+ (when (docstr-util-current-line-empty-p) ; Ensure on newline
79
(let* ((prev-line-text (save-excursion (forward-line -1) (thing-at-point 'line)))
80
(prev-line-doc-symbol (docstr-util-comment-line-symbol -1))
81
(current-line-doc-symbol (docstr-util-comment-line-symbol))
0 commit comments