Skip to content

Commit 3efd087

Browse files
committed
Fix repl-executable for Swift 5.7
Swift 5.5: `repl` is not mentioned in the manual but is ignored silently. Swift 5.6: `repl` is the default subcommand. Swift 5.7: `repl` is not default.
1 parent fc3d16a commit 3efd087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

swift-mode-repl.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
:group 'swift)
4444

4545
(defcustom swift-mode:repl-executable
46-
(concat (when (executable-find "xcrun") "xcrun ") "swift")
46+
(concat (when (executable-find "xcrun") "xcrun ") "swift repl")
4747
"Path to the Swift CLI. The string is split by spaces, then unquoted."
4848
:tag "Swift Mode REPL Executable"
4949
:type '(choice string (list string))

0 commit comments

Comments
 (0)