From 4b5012f5f96f6b14dcbc52723bb51c97846b8315 Mon Sep 17 00:00:00 2001 From: Uko Kokņevičs Date: Sat, 28 Jun 2025 11:21:25 +0300 Subject: Add swift-mode --- arkta/arkta-progmodes.el | 5 +++++ shared/elpaca-lock.el | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/arkta/arkta-progmodes.el b/arkta/arkta-progmodes.el index 865e850..a85d0c0 100644 --- a/arkta/arkta-progmodes.el +++ b/arkta/arkta-progmodes.el @@ -253,6 +253,11 @@ :ensure t :mode ("\\.svelte\\'" "\\.svx\\'")) +(use-package swift-mode + ;; There's swift-ts-mode... but it doesn't have parser.c committed... + :ensure t + :mode "\\.swift\\'") + (use-package toml-ts-mode :after treesit :ensure nil diff --git a/shared/elpaca-lock.el b/shared/elpaca-lock.el index d0dd1ec..45756eb 100644 --- a/shared/elpaca-lock.el +++ b/shared/elpaca-lock.el @@ -355,6 +355,11 @@ ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el")) :source "MELPA" :protocol https :inherit t :depth treeless :ref "ac8fba901dc790976f9893e338c8ad1241b897c6")) + (swift-mode :source "elpaca-menu-lock-file" :recipe + (:package "swift-mode" :repo "swift-emacs/swift-mode" :fetcher github :files + ("*.el" "*.el.in" "dir" "*.info" "*.texi" "*.texinfo" "doc/dir" "doc/*.info" "doc/*.texi" "doc/*.texinfo" "lisp/*.el" "docs/dir" "docs/*.info" "docs/*.texi" "docs/*.texinfo" + (:exclude ".dir-locals.el" "test.el" "tests.el" "*-test.el" "*-tests.el" "LICENSE" "README*" "*-pkg.el")) + :source "MELPA" :protocol https :inherit t :depth treeless :ref "fc7df7bd906a2bb04aac6e0de47fc7acf33ceed3")) (swiper :source "elpaca-menu-lock-file" :recipe (:package "swiper" :repo "abo-abo/swiper" :fetcher github :files ("swiper.el") -- cgit v1.2.3