mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Reorganize modules
This commit is contained in:
17
modules/lang/swift/config.el
Normal file
17
modules/lang/swift/config.el
Normal file
@ -0,0 +1,17 @@
|
||||
;;; module-swift.el
|
||||
|
||||
;; TODO Set up emacs task runners for fruitstrap
|
||||
(use-package swift-mode
|
||||
:mode "\\.swift$"
|
||||
:init (add-hook 'swift-mode-hook 'flycheck-mode)
|
||||
:config
|
||||
(def-company-backend! swift-mode (sourcekit yasnippet))
|
||||
(def-docset! swift-mode "swift")
|
||||
(def-repl! swift-mode swift-mode-run-repl) ; TODO test this
|
||||
(after! flycheck (push 'swift flycheck-checkers)))
|
||||
|
||||
(use-package company-sourcekit
|
||||
:after swift-mode)
|
||||
|
||||
(provide 'module-swift)
|
||||
;;; module-swift.el ends here
|
Reference in New Issue
Block a user