Skip to content

Commit 1d43501

Browse files
committed
Fix indentation of attributes at begging of the buffer.
1 parent c659c45 commit 1d43501

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

swift-mode-indent.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ the expression."
658658
(when (and after-attributes
659659
(save-excursion
660660
(goto-char (swift-mode:token:end parent))
661+
(forward-comment (point-max))
661662
(eq (swift-mode:token:type (swift-mode:forward-token))
662663
'attribute)))
663664
(setq offset 0))

0 commit comments

Comments
 (0)