Clean up swift config
This commit is contained in:
parent
7dbaf6c570
commit
2538de1a92
1 changed files with 2 additions and 3 deletions
|
@ -21,11 +21,10 @@
|
|||
;; TODO Set up emacs task runners for fruitstrap
|
||||
(use-package swift-mode
|
||||
:mode "\\.swift$"
|
||||
:init
|
||||
(add-hook 'swift-mode-hook 'flycheck-mode)
|
||||
:init (add-hook 'swift-mode-hook 'flycheck-mode)
|
||||
:config
|
||||
(def-company-backend! swift-mode (sourcekit yasnippet))
|
||||
(push 'swift flycheck-checkers))
|
||||
(after! flycheck (push 'swift flycheck-checkers)))
|
||||
|
||||
(use-package company-sourcekit
|
||||
:after swift-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue