Browse Source

Fix code review

pull/6/head
Pouya Abbassi 8 months ago committed by Gitea
parent
commit
d9a0cfbc63
  1. 2
      config/fg42.user.el
  2. 13
      core/cubes/clojure.el

2
config/fg42.user.el

@ -86,7 +86,6 @@ @@ -86,7 +86,6 @@
(fg42/merge-with-default-flags
wm
python
clojure
golang
rcirc
vterm
@ -146,7 +145,6 @@ @@ -146,7 +145,6 @@
(fg42/merge-with-default-flags
wm
-python
clojure
-golang
rcirc
vterm

13
core/cubes/clojure.el

@ -35,24 +35,22 @@ @@ -35,24 +35,22 @@
(defcube fg42/clojure-cube
"Clojure support cube for fg42."
(:title "Clojure cube" :flag clojure)
(:title "Clojure cube"
:flag clojure
:flag-default t)
(fpkg/use aggressive-indent-mode
:defer t
:config (paredit-mode +1))
(fpkg/use rainbow-delimiters
:defer t
:config (rainbow-delimiters-mode +1))
(fpkg/use cider
:defer t)
(fpkg/use cider)
(fpkg/use clojure-mode
:defer t
:hook 'clojure-mode-hook 'my-clojure-hook
:config
(progn
(add-hook 'clojure-mode-hook 'my-clojure-hook)
(when-flag lsp
(add-hook 'clojure-mode-hook
(lambda ()
@ -61,6 +59,5 @@ @@ -61,6 +59,5 @@
(lsp-deferred)
(defconst lsp-enable-indentation -1))))))))
(provide 'cubes/clojure)
;;; clojure.el ends here

Loading…
Cancel
Save