Clean up + refactor
This commit is contained in:
parent
7e282841ba
commit
9571acd3e9
18 changed files with 136 additions and 102 deletions
|
@ -13,10 +13,10 @@
|
|||
(require 'company-sourcekit)
|
||||
(define-company-backend! swift-mode (sourcekit yasnippet))))
|
||||
|
||||
(defun narf-lb6-reload ()
|
||||
(interactive)
|
||||
(let ((dir (f-traverse-upwards (lambda (f) (string-suffix-p ".lbaction" f)))))
|
||||
(shell-command (format "open '%s'" dir))))
|
||||
|
||||
;;
|
||||
;; LaunchBar: https://www.obdev.at/products/launchbar
|
||||
;;
|
||||
|
||||
(define-minor-mode lb6-mode
|
||||
"Launchbar development mode."
|
||||
|
@ -26,5 +26,10 @@
|
|||
(define-builder! lb6-mode narf-lb6-reload)
|
||||
(associate! lb6-mode :match "\\.lb\\(action\\|ext\\)/.+$")
|
||||
|
||||
(defun narf-lb6-reload ()
|
||||
(interactive)
|
||||
(let ((dir (f-traverse-upwards (lambda (f) (string-suffix-p ".lbaction" f)))))
|
||||
(shell-command (format "open '%s'" dir))))
|
||||
|
||||
(provide 'module-apple)
|
||||
;;; module-apple.el ends here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue