Conditional fallback for Parinfer
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
(provide 'thoom-lisp)
|
||||
|
||||
(if (string-match "x86_64-apple" system-configuration)
|
||||
;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
|
||||
(use-package parinfer-rust-mode
|
||||
:ensure (:host
|
||||
github
|
||||
:repo
|
||||
"justinbarclay/parinfer-rust-mode"
|
||||
:ref
|
||||
"8df117a3b54d9e01266a3905b132a1d082944702"))
|
||||
(use-package parinfer-rust-mode :ensure t))
|
||||
|
||||
(use-package parinfer-rust-mode
|
||||
;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
|
||||
:ensure (:host github :repo "justinbarclay/parinfer-rust-mode" :ref "8df117a3b54d9e01266a3905b132a1d082944702")
|
||||
:hook emacs-lisp-mode)
|
||||
|
||||
;; (use-package parinfer-rust-mode
|
||||
;; ;; The latest version of parinfer-rust-mode is incompatible with x86 Macs, so fall back on an earlier commit
|
||||
;; :ensure
|
||||
;; (if (string-match "x86_64-apple" system-configuration)
|
||||
;; '(:host github :repo "justinbarclay/parinfer-rust-mode" :ref "8df117a3b54d9e01266a3905b132a1d082944702")
|
||||
;; t)
|
||||
;; :hook emacs-lisp-mode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user