Move +parinfer to :editor parinfer

This commit is contained in:
Aria Edmonds 2018-06-09 22:01:09 +10:00
parent 29ea01b772
commit d178d78b2b
5 changed files with 13 additions and 8 deletions

View file

@ -75,8 +75,7 @@
;erlang ; an elegant language for a more civilized age ;erlang ; an elegant language for a more civilized age
;elixir ; erlang done right ;elixir ; erlang done right
;elm ; care for a cup of TEA? ;elm ; care for a cup of TEA?
(emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
+parinfer) ; A handy addon to sort of turn lisp into python <https://shaunlebron.github.io/parinfer/>
;ess ; emacs speaks statistics ;ess ; emacs speaks statistics
;go ; the hipster dialect ;go ; the hipster dialect
;(haskell +intero) ; a language that's lazier than I am ;(haskell +intero) ; a language that's lazier than I am
@ -128,6 +127,9 @@
;floobits ; peer programming for a price ;floobits ; peer programming for a price
;impatient-mode ; show off code over HTTP ;impatient-mode ; show off code over HTTP
:editor
parinfer ; A handy addon to sort of turn lisp into python <https://shaunlebron.github.io/parinfer/>
:config :config
;; For literate config users. This will tangle+compile a config.org ;; For literate config users. This will tangle+compile a config.org
;; literate config in your `doom-private-dir' whenever it changes. ;; literate config in your `doom-private-dir' whenever it changes.

View file

@ -4,7 +4,11 @@
(def-package! parinfer (def-package! parinfer
:commands (parinfer-mode) :commands (parinfer-mode)
:init :init
(add-hook! emacs-lisp-mode (add-hook! (emacs-lisp-mode
clojure-mode
common-lisp-mode
scheme-mode
lisp-mode)
(yas-minor-mode -1) (yas-minor-mode -1)
(parinfer-mode)) (parinfer-mode))
(setq parinfer-extensions (setq parinfer-extensions

View file

@ -0,0 +1,4 @@
;; -*- no-byte-compile: t; -*-
;;; editor/parinfer/packages.el
(package! parinfer)

View file

@ -116,5 +116,3 @@
(def-project-mode! +emacs-lisp-ert-mode (def-project-mode! +emacs-lisp-ert-mode
:modes (emacs-lisp-mode) :modes (emacs-lisp-mode)
:match "/test[/-].+\\.el$") :match "/test[/-].+\\.el$")
(when (featurep! +parinfer) (load! "+parinfer"))

View file

@ -9,6 +9,3 @@
(when (featurep! :feature syntax-checker) (when (featurep! :feature syntax-checker)
(package! flycheck-cask)) (package! flycheck-cask))
(when (featurep! +parinfer)
(package! parinfer))