doomemacs/modules/lang/swift/config.el

19 lines
425 B
EmacsLisp
Raw Normal View History

;;; lang/swift/config.el -*- lexical-binding: t; -*-
;; `swift-mode'
(set-repl-handler! 'swift-mode #'run-swift)
2017-02-19 18:57:16 -05:00
(def-package! flycheck-swift
:when (featurep! :feature syntax-checker)
:after swift-mode
:config (flycheck-swift-setup))
2017-02-19 18:57:16 -05:00
(def-package! company-sourcekit
:when (featurep! :completion company)
2017-02-19 18:57:16 -05:00
:after swift-mode
:config
(set-company-backend! 'swift-mode '(company-sourcekit company-yasnippet)))