A Swift syntax checker using Swift compiler frontend.
Flycheck-swift3 is designed to work with Apple swift-mode.el in the main Swift repository.
- Apple swift-mode.el support
- Apple Swift 5.7 support
If you use the toolchain option, you can use the old version of Swift. - The
xcrun
command support (only on macOS)
- Apple Emacs Lisp files for Swift
- swift-mode.el
- swift-project-settings.el (optional)
- inferior-swift-mode.el (optional)
- sil-mode.el (optional)
- Flycheck
You can install flycheck-swift3.el
from the MELPA or the MELPA Stable repository with package.el
.
In your init.el
:
(require 'flycheck-swift3) ; Not necessary if using ELPA package
(with-eval-after-load 'flycheck
(add-hook 'flycheck-mode-hook #'flycheck-swift3-setup))
This software is licensed under the MIT License.
See the LICENSE file for details.