doomemacs/modules/module-apple.el

33 lines
733 B
EmacsLisp
Raw Normal View History

2016-01-29 07:03:43 -05:00
;;; module-apple.el
(use-package applescript-mode :mode "\\.applescript$")
2016-03-03 15:04:14 -05:00
;;
;; LaunchBar: https://www.obdev.at/products/launchbar
;;
2016-01-29 07:03:43 -05:00
2016-04-16 21:36:24 -04:00
(define-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)))))
2016-03-03 15:04:14 -05:00
2016-04-12 15:56:04 -04:00
;;
;; Swift
;;
;; TODO Set up emacs task runners for fruitstrap
(use-package swift-mode
:mode "\\.swift$"
:init (add-hook 'swift-mode-hook 'flycheck-mode)
:config
(after! flycheck (push 'swift flycheck-checkers))
(require 'company-sourcekit)
(define-company-backend! swift-mode (sourcekit yasnippet)))
2016-01-29 07:03:43 -05:00
(provide 'module-apple)
;;; module-apple.el ends here