mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-25 14:13:37 -05:00
Clean up swift config
This commit is contained in:
@@ -21,11 +21,10 @@
|
|||||||
;; TODO Set up emacs task runners for fruitstrap
|
;; TODO Set up emacs task runners for fruitstrap
|
||||||
(use-package swift-mode
|
(use-package swift-mode
|
||||||
:mode "\\.swift$"
|
:mode "\\.swift$"
|
||||||
:init
|
:init (add-hook 'swift-mode-hook 'flycheck-mode)
|
||||||
(add-hook 'swift-mode-hook 'flycheck-mode)
|
|
||||||
:config
|
:config
|
||||||
(def-company-backend! swift-mode (sourcekit yasnippet))
|
(def-company-backend! swift-mode (sourcekit yasnippet))
|
||||||
(push 'swift flycheck-checkers))
|
(after! flycheck (push 'swift flycheck-checkers)))
|
||||||
|
|
||||||
(use-package company-sourcekit
|
(use-package company-sourcekit
|
||||||
:after swift-mode)
|
:after swift-mode)
|
||||||
|
Reference in New Issue
Block a user