Commit graph

112 commits

Author SHA1 Message Date
Henrik Lissner
b24d545f50
Bump :lang clojure
clojure-emacs/cider@d63e565 -> clojure-emacs/cider@3a59fe0
clojure-emacs/clojure-mode@c970c46 -> clojure-emacs/clojure-mode@da9f1ec

We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125 for why.
2020-05-10 05:11:55 -04:00
Henrik Lissner
06d5d5e6c0
General refactors, reformatting & comment revision 2020-04-23 23:56:17 -04:00
Henrik Lissner
71c5ad5000
Move clojure SPC m m {e,E} -> to SPC m {m,M}
To be consistent with CL and elisp keybinds.
2020-04-17 15:47:05 -04:00
Henrik Lissner
08eca4c11b
Bump :lang clojure
borkdude/flycheck-clj-kondo@d46745c -> borkdude/flycheck-clj-kondo@5472c26
clojure-emacs/cider@8f5657b -> clojure-emacs/cider@d63e565
2020-04-16 21:57:13 -04:00
Henrik Lissner
5150252595
Prevent premature color calculations on cider-doc 2020-04-16 21:33:02 -04:00
Henrik Lissner
c4fc1587fe
Bump :lang clojure
borkdude/flycheck-clj-kondo@f652a8d -> borkdude/flycheck-clj-kondo@d46745c
clojure-emacs/cider@52dcc60 -> clojure-emacs/cider@8f5657b
clojure-emacs/clj-refactor.el@92d3723 -> clojure-emacs/clj-refactor.el@8259791
2020-04-13 01:10:29 -04:00
Henrik Lissner
1c2060189f
lang/clojure: add clojure-mode
How the heck did this module not have this already?
2020-04-13 01:09:09 -04:00
Ivan Kryvoruchko
d2efcfbb0c
Update Clojure module README
+ Fix linter links to mention the currently used one
+ Add actual description for the module
2020-03-30 22:07:25 +03:00
Henrik Lissner
0fa93a089f
Bump :lang
Alexander-Miller/company-shell@HEAD -> Alexander-Miller/company-shell@52f3bf2
FStarLang/fstar-mode.el@HEAD -> FStarLang/fstar-mode.el@aaaf256
JuliaEditorSupport/julia-emacs@5238f9a -> JuliaEditorSupport/julia-emacs@1c122f1
Kungsgeten/org-brain@6b7fced -> Kungsgeten/org-brain@cae8e22
OVYA/php-cs-fixer@6540006 -> OVYA/php-cs-fixer@95eace9
ProofGeneral/PG@2a17093 -> ProofGeneral/PG@9196749
aaronjensen/eslintd-fix@98c669e -> aaronjensen/eslintd-fix@0c43114
abicky/nodejs-repl.el@8b90948 -> abicky/nodejs-repl.el@6fad7d7
abo-abo/org-download@3c48102 -> abo-abo/org-download@b96fd7b
agda/agda@74d9fd5 -> agda/agda@ff9173e
alf/ob-restclient.el@c5c22e6 -> alf/ob-restclient.el@f7449b2
ananthakumaran/tide@1878a09 -> ananthakumaran/tide@3b45610
bastibe/org-journal@9d40f62 -> bastibe/org-journal@664c08e
brotzeit/rustic@373f5a1 -> brotzeit/rustic@61032ea
clojure-emacs/cider@7437c67 -> clojure-emacs/cider@52dcc60
clojure-emacs/clj-refactor.el@e24ba62 -> clojure-emacs/clj-refactor.el@92d3723
cpitclaudel/company-coq@6e8bc2e -> cpitclaudel/company-coq@f9dba9d
cython/cython@f6bf6aa -> cython/cython@48dc1f0
defunkt/coffee-mode@86ab8aa -> defunkt/coffee-mode@35a41c7
dgutov/robe@8190cb7 -> dgutov/robe@68503b3
diml/utop@7c99d8c -> diml/utop@30c77ce
dzop/emacs-jupyter@d4b06c5 -> dzop/emacs-jupyter@de7af25
emacs-ess/ESS@a2be8cb -> emacs-ess/ESS@625041a
emacs-lsp/lsp-haskell@6d481f9 -> emacs-lsp/lsp-haskell@582fa27
emacs-lsp/lsp-java@dbeeee9 -> emacs-lsp/lsp-java@6efb741
emacs-php/php-mode@cade4ce -> emacs-php/php-mode@b5d9988
emacs-php/phpactor.el@5ccf65d -> emacs-php/phpactor.el@31fe2ea
emacs-php/phpactor.el@5ccf65d) -> emacs-php/phpactor.el@31fe2ea)
emacs-straight/csv-mode@fbf942e -> emacs-straight/csv-mode@6353374
emacs-straight/org-mode@0a8faec -> emacs-straight/org-mode@ba68555
emacs-typescript/typescript.el@a0f2c3e -> emacs-typescript/typescript.el@102587e
emacsorphanage/gnuplot@a406143 -> emacsorphanage/gnuplot@f0001c3
erlang/otp@c15eb5f -> erlang/otp@3065fbf
factor/factor@a62ea78 -> factor/factor@497d649
felipeochoa/rjsx-mode@014c760 -> felipeochoa/rjsx-mode@0061587
fxbois/web-mode@d1b6660 -> fxbois/web-mode@b0bb4ab
greghendershott/racket-mode@5f396fa -> greghendershott/racket-mode@bd4c8cf
haskell/haskell-mode@4a87d72 -> haskell/haskell-mode@7032966
jaor/geiser@645e477 -> jaor/geiser@83ad875
joaotavora/sly@cfecd21 -> joaotavora/sly@1382bda
jorgenschaefer/emacs-buttercup@178c795 -> jorgenschaefer/emacs-buttercup@b360e35
leanprover/lean-mode@f26e40d -> leanprover/lean-mode@65b55b1
leanprover/lean-mode@f26e40d -> leanprover/lean-mode@65b55b1
ledger/ledger-mode@a514953 -> ledger/ledger-mode@7d78645
mgyucht/jsonnet-mode@2b90b4e -> mgyucht/jsonnet-mode@d8b486c
necaris/conda.el@814439d -> necaris/conda.el@335474e
nonsequitur/inf-ruby@e4ae089 -> nonsequitur/inf-ruby@41e5ed3
ocaml-ppx/ocamlformat@dba4487 -> ocaml-ppx/ocamlformat@5282e04
ocaml/dune@f3df7ab -> ocaml/dune@1944d0f
ocaml/merlin@f6954e9 -> ocaml/merlin@37e38e4
polymode/poly-R@0443c89 -> polymode/poly-R@51ffeb6
polymode/polymode@3eab3c9 -> polymode/polymode@44265e3
purcell/flycheck-ledger@2065bea -> purcell/flycheck-ledger@628e25b
purescript-emacs/psc-ide-emacs@2a93944 -> purescript-emacs/psc-ide-emacs@7fc2b84
s-kostyaev/ivy-erlang-complete@7d60ed1 -> s-kostyaev/ivy-erlang-complete@c443dba
seagle0128/grip-mode@1a61bb7 -> seagle0128/grip-mode@9615c47
skeeto/skewer-mode@123215d -> skeeto/skewer-mode@e5bed35
tpapp/julia-repl@b11a572 -> tpapp/julia-repl@5fa04de
wwwjfy/emacs-fish@688c82d -> wwwjfy/emacs-fish@db257db
xuchunyang/elisp-demos@bec206b -> xuchunyang/elisp-demos@0d74766
yjwen/org-reveal@0d947cb -> yjwen/org-reveal@ea8b502
2020-03-27 16:57:56 -04:00
Henrik Lissner
80845954f1
Don't uninstall cider when +lsp is enabled 2020-02-26 14:26:55 -05:00
Henrik Lissner
803ba23298
Allow lsp-clojure & cider to work together 2020-02-26 13:02:19 -05:00
Akhil Wali
c3f3f83a79 Fix syntax error in modules/clojure/config.el 2020-02-25 20:00:44 +13:00
Henrik Lissner
993ad257e3
Merge pull request #2580 from yuhan0/change-clj-linter
Change clojure linter to clj-kondo
2020-02-24 20:44:44 -05:00
Henrik Lissner
38ea138542
lang/clojure: add README #1166 2020-02-23 16:55:00 -05:00
Henrik Lissner
a65403011e
lang/clojure: add +lsp support 2020-02-23 16:26:10 -05:00
Henrik Lissner
b30f38ac06
Minor refactor & reformatting across the board 2020-02-23 15:42:43 -05:00
yuhan0
3c8520b1fc Change clojure linter to clj-kondo 2020-02-22 15:26:01 +08:00
Henrik Lissner
a9402cfb55
Fix #2373: bring back package pinning
This needs some serious refactoring...
2020-01-25 19:02:00 -05:00
Henrik Lissner
4cc14389e8
PIN ALL THE PACKAGES 2020-01-14 22:32:11 -05:00
Henrik Lissner
12094788d7
Fix references to :tools fly{spell,check} 2020-01-14 03:04:26 -05:00
James Conroy-Finn
21c55b0c43
Use newer cider-ns-refresh in Clojure bindings
Cider deprecated `cider-refresh` in favour of `cider-ns-refresh` in
version 0.18.

https://github.com/clojure-emacs/cider/blob/master/CHANGELOG.md#changes-6
2020-01-06 16:57:26 +00:00
Henrik Lissner
44fcbb52dc
Change format of doom-large-file-size-alist
Instead of mapping major modes to file size thresholds, it maps file
regexps (like auto-mode-alist) since the major mode cannot be known
before set-auto-mode is called (in after-find-file).
2019-12-25 02:13:53 -05:00
Henrik Lissner
322bca710a
General refactors & reformatting 2019-12-20 00:59:52 -05:00
J Hacksworth
f7acdc43f4 lang/clojure: Update to cider-clojuredocs
CIDER removed `cider-grimoire-web` as Grimoire is no longer available,
and now uses ClojureDocs:
- https://metaredux.com/posts/2019/06/29/farewell-grimoire.html
- https://github.com/clojure-emacs/cider/issues/2663
2019-12-18 15:25:35 -05:00
Henrik Lissner
3c90c6994b
lang/clojure: set large-file-size threshold to 0.5mb 2019-12-02 20:22:01 -05:00
yuhan0
17957a666d [clojure] Check for nrepl-server-buffer in advice
When using cider-connect to an external server this function would throw
an exception because nrepl-server-buffer is nil
2019-10-31 10:47:48 +08:00
Henrik Lissner
0b67251159
tools/eval: associate plist with repl handlers
Also consolidates all REPLs (opened through the :tools eval module)
under one popup rule, which inhibits ESC from prematurely closing
them (#1944), and cleans up after their buffers *only* if their handlers
weren't specified to :persist, e.g.

  (set-repl-handler! 'some-mode #'some-repl-handler :persist t)

Also standardized ESS's REPL commands.
2019-10-23 21:41:23 -04:00
Henrik Lissner
9b25582be1
Reduce list of root files projectile searches for
And define them on a per-module basis. This reduces the number of file
checks it performs, particularly for non-project files.

Might help #1317
2019-10-19 22:22:49 -04:00
Undead Kernel
a0870d0d75 lang/clojure: start clojurescript repl correctly 2019-10-15 17:35:22 +02:00
Henrik Lissner
3181933ed1
Minor refactoring and reformatting 2019-10-08 17:42:36 -04:00
Henrik Lissner
9857b3d481
lang/clojure: fix repl handler #1714 2019-10-08 17:42:36 -04:00
Henrik Lissner
4289df5bc2
lang/clojure: fix repl handler #1714
Also: minor refactor
2019-10-07 20:19:43 -04:00
Henrik Lissner
11a6c03d69
Standardize naming of repl handler commands 2019-10-07 14:08:58 -04:00
Henrik Lissner
051bceb0a8
Refactor localleader keybinds #1270
Introduces a select few of the localleader keybind standards proposed in
issue #1270, corrects a few typos and introduces more localleader
keybinds in general.

Co-authored-by: yuhan0 <>
2019-10-04 22:04:47 -04:00
Henrik Lissner
83c95ddaa0
lang/clojure: general refactor
To optimize load time and conform to new elips conventions introduced
with straight.el integration.
2019-09-13 22:00:34 -04:00
Nollo
50a9faa7c4 [ADD] new clojure/cider bindings 2019-07-29 09:17:14 +02:00
Henrik Lissner
0f9ce4de67
Merge pull request #1591 from nate/straight
Add more cider functions to the clojure keymap
2019-07-29 03:55:42 +02:00
Levi Tan Ong
e213509528
rebind "\"" to cider-jack-in-cljs
Originally `cider-jack-in-clojurescript` but said command was deprecated.
Copy of 1595 because history happened, and I don't know how to fix it. 😅
2019-07-29 01:23:18 +08:00
Henrik Lissner
19ecf8e46a
Correct last inline hook defuns
See a3e262c7 for rationale
2019-07-28 16:10:53 +02:00
Nathan Sutton
fdd5137907 Add more cider functions to the clojure keymap 2019-07-24 13:15:07 -05:00
Henrik Lissner
76cacb5bfe
💥 Rename def-package! -> use-package!
Calling this pivotal macro "def-package!" has frequently been a source
of confusion. It is a thin wrapper around use-package, and it should be
obvious that it is so. For this reason, and to match the naming
convention used with other convenience macros/wrappers, it is now
use-package!.

Also changes def-package-hook! -> use-package-hook!

The old macros are now marked obsolete and will be removed when straight
integration is merged.
2019-07-23 12:50:45 +02:00
Henrik Lissner
56e1dfe9bb
lang/clojure: copy nrepl-server errors to repl
Makes them easier to notice!
2019-07-22 02:37:45 +02:00
Henrik Lissner
a201409fdd
Minor refactors across the board 2019-07-10 21:27:12 +02:00
Henrik Lissner
1c976dc0e4
Minor, general refactors
Also rename custom lookup handlers for consistency and use the new
inline :async property instead.
2019-05-02 17:57:31 -04:00
Henrik Lissner
237e14ae7b
lang/clojure: fix lookup-def handler #1360 2019-04-24 21:32:26 -04:00
Henrik Lissner
77e4cc4d58
💥 Remove :feature category
:feature was a "catch-all" category. Many of its modules fit better in
other categories, so they've been moved:

- feature/debugger -> tools/debugger
- feature/evil -> editor/evil
- feature/eval -> tools/eval
- feature/lookup -> tools/lookup
- feature/snippets -> editor/snippets
- feature/file-templates -> editor/file-templates
- feature/workspaces -> ui/workspaces

More potential changes in the future:

- A new :term category for terminal emulation modules (eshell, term and
  vterm).
- A new :os category for modules dedicated to os-specific functionality.
  The :tools macos module would fit here, but so would modules for nixos
  and arch.
- A new :services category for web-service integration, like wakatime,
  twitter, elfeed, gist and pastebin services.
2019-04-24 18:16:04 -04:00
Ivan Kryvoruchko
dfad10e843
Set Clojure lookup handlers for specific minor modes to avoid overwriting
Fixes issue #1357 https://github.com/hlissner/doom-emacs/issues/1357
2019-04-24 18:03:56 +03:00
Thiago Kenji Okada (Nubank)
3eb9caf167 Add some maps in cider-repl major mode 2019-04-18 20:59:46 -03:00
Thiago Kenji Okada (Nubank)
8cce11fc82 Fix SPC m r c in clojure-mode
Map it to 'cider-find-and-clear-repl-output instead of
'cider-repl-clear-buffer (that does not work inside Clojure
buffer).
2019-04-18 20:58:09 -03:00
Henrik Lissner
093dddff4a
lang/clojure: minor refactor 2019-03-12 12:28:57 -04:00