Releases: swift-emacs/swift-mode
Releases · swift-emacs/swift-mode
Better indent-new-comment
swift-mode:indent-new-comment-line
(M-j or C-M-j) now inhertis slashes from the previous line. Example:
/// Some documentation comment
///
/// Typing M-j here will insert three slashes on the next line instead of two.
Fix indentation for keywords used as parameter names
The following code is now correctly indented.
foo(
in: 1
)
foo(
where: 1
)
Fix REPL prompt corruption
v2.2.1 Bump version to 2.2.1
Highlights anchor and bug fixes
If swift-mode:highlight-anchor
is non-nil, the anchor point is highlighted when indenting a line. For example, when indenting the aaa
token in the following example, the character “c” of the token class
is highlighted because the aaa
token is indented relative to the character.
class Foo {
aaa
}
This feature is disabled by default because it is intended for debugging.
New indentation logic
New indentation logic.
Note flycheck is moved to https://github.com/swift-emacs/flycheck-swift.