From a38b5d1e1503aab1382cf6ce3cf4f00abc034f71 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 13 Nov 2024 11:44:12 +0100 Subject: [PATCH] Emacs+Packages: Add Swift-mode, add hunspell packages --- .config/emacs/site-lisp/dot-development.el | 11 +++++++++++ packages | 3 +++ 2 files changed, 14 insertions(+) diff --git a/.config/emacs/site-lisp/dot-development.el b/.config/emacs/site-lisp/dot-development.el index f90fcdc..f44c1f4 100644 --- a/.config/emacs/site-lisp/dot-development.el +++ b/.config/emacs/site-lisp/dot-development.el @@ -195,6 +195,7 @@ lua-mode ; lua-language-server latex-mode ; texlab kotlin-mode ; kotlin-language-server + swift-mode ; swift-bin web-mode) (:hook lsp-deferred)) (:when-loaded @@ -363,6 +364,8 @@ (:hook dot/php-mode-init)) (elpaca-setup restclient) +(elpaca-setup restclient-jq + (:load-ater restclient)) ;;; Python @@ -373,6 +376,14 @@ (setq python-indent-offset (default-value 'tab-width))) (:hook dot/python-mode-init))) +;;; Swift + +(elpaca-setup swift-mode) +(elpaca-setup lsp-sourcekit + (:load-after lsp-mode) + (:when-loaded + (setq lsp-sourcekit-executable "/usr/bin/sourcekit-lsp"))) + ;;; YAML (elpaca-setup yaml-mode) diff --git a/packages b/packages index b582e6c..a03ae10 100644 --- a/packages +++ b/packages @@ -54,6 +54,9 @@ gvfs-gphoto2 gvfs-mtp gvim htop +hunspell +hunspell-en_us +hunspell-nl i3lock-color-git imagemagick inetutils