<commit_before>;;; module-apple.el

(use-package applescript-mode :mode "\\.applescript$")


;;
;; LaunchBar: https://www.obdev.at/products/launchbar
;;

(def-project-type! lb6 "lb6"
  :match "\\.lb\\(action\\|ext\\)/.+$"
  :build (lambda ()
           (awhen (f-traverse-upwards (lambda (f) (f-ext? f "lbaction")))
             (shell-command (format "open '%s'" it)))))


;;
;; Swift
;;

;; 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))
  (push 'swift flycheck-checkers))

(use-package company-sourcekit
  :after swift-mode)

(provide 'module-apple)
;;; module-apple.el ends here<commit_msg>Clean up swift config<commit_after>;;; module-apple.el

(use-package applescript-mode :mode "\\.applescript$")


;;
;; LaunchBar: https://www.obdev.at/products/launchbar
;;

(def-project-type! lb6 "lb6"
  :match "\\.lb\\(action\\|ext\\)/.+$"
  :build (lambda ()
           (awhen (f-traverse-upwards (lambda (f) (f-ext? f "lbaction")))
             (shell-command (format "open '%s'" it)))))


;;
;; Swift
;;

;; 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))
  (after! flycheck (push 'swift flycheck-checkers)))

(use-package company-sourcekit
  :after swift-mode)

(provide 'module-apple)
;;; module-apple.el ends here
{'fraction_non_alphanumeric': 0.19155844155844157, 'fraction_numerical': 0.0025974025974025974, 'mean_word_length': 3.5058479532163744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3792530', 'n_tokens_mistral': 585, 'n_tokens_neox': 556, 'n_words': 126}