Install emacs clone spacemacs into the emacs dir for all the configs
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
install sourcekitten and sourcekittendaemon
https://github.com/terhechte/SourceKittenDaemon
run emacs once and select vim as the editing style then press spc f e d
to open up the dotfile
an then add the swift layer to the dotspacemacs-configuration-layers variable like so
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
dotspacemacs-configuration-layers
'(
swift
completion ;; probably need this too.
;; other layers(bundles of configured packages) go here like
git
helm
))
)
it might suffice it to be just (add-to-list 'company-backends 'company-sourcekit)
inside of the user-config function:
so:
(defun dotspacemacs/user-config ()
(add-to-list 'company-backends 'company-sourcekit)
;; or
(with-eval-after-load 'company-sourcekit
(add-to-list 'company-backends 'company-sourcekit))
)
restart emacs and it should install things and download things hit me up in the gitter chat for spacemacs if you need help.