Commit graph

10842 commits

Author SHA1 Message Date
Bruce D'Arcus
5656a96a1b refactor(biblio): update citar config
- Remove outdated config for org-roam.
- Set org-cite-bibliography to citar-bibliography

Ref: #6016
Co-authored-by: Bruce D'Arcus <bdarcus@users.noreply.github.com>
2022-01-27 03:46:48 +01:00
Henrik Lissner
1d41ee0c1a refactor(evil): use window-swap-states in +evil--window-swap
Taking a look at the built in windmove functions shows that Emacs has a
built in function for swapping windows called `window-swap-states`.
Using this ensures the window state is maintained.

Ref: #6023
Co-authored-by: luveti <luveti@users.noreply.github.com>
2022-01-27 03:43:51 +01:00
Henrik Lissner
b2b19e7196 fix(multiple-cursors): contextually activate minor mode
evil-mc's design is bizarre. Its variables and hooks are lazy loaded
rather than declared at top-level, some hooks aren't defined or
documented, it's a bit initializer-function drunk, and its minor modes
are intended to be perpetually active -- even when no cursors are active
(causing #6021). I undo all of that here.

Fix: #6021
2022-01-27 03:43:51 +01:00
Henrik Lissner
69340149f9 fix(org): don't refresh images while exporting/tangling
Also limits the scope of org-display-inline-images to the current src
block. org-display-inline-images was previously used on the entire
subtree, which was slower than it needed to be (especially while
exporting/tangling org).
2022-01-27 03:43:51 +01:00
Kiran Shila
1f27a68ae6 tweak(julia): update lsp environment to recent LTS 2022-01-27 03:36:04 +01:00
Dan
1643124104
fix(evil): window-selection-change-functions use case
`window-selection-change-functions` expects hooks to have one argument.
2022-01-27 03:33:13 +01:00
Tony
61cee32d04 docs(eshell): fix +eshell/here docstring 2022-01-27 03:32:10 +01:00
Caio Rulli Thomaz
db08aeaa7a docs(clojure): add check for clj-kondo 2022-01-27 03:27:51 +01:00
Jeetaditya Chatterjee
c7753adbb3 tweak(rss): use asterisk around workspace name
This is to make it conform to the convention that all other app
workspaces conform to (plus it was bugging me)
2022-01-15 21:14:55 +01:00
Jeetaditya Chatterjee
3341270781 docs(haskell): add lsp predicate to format check
So that if someone follows the advice of the warning, it will then go
away
2022-01-15 21:14:44 +01:00
Henrik Lissner
94c38f289c
merge: pull request #5953 from iyefrat/vertico-updates
`:completion vertico` improvements
2022-01-14 01:11:05 +01:00
Henrik Lissner
3a8f22118a bump: :lang dart
emacs-lsp/lsp-dart@64fb5d9303 -> emacs-lsp/lsp-dart@813d3c92db

Fix: #5877
2022-01-14 01:03:10 +01:00
Itai Y. Efrat
f42f923350 feat(vertico): add SPC s e to manual preview list 2022-01-13 23:16:03 +02:00
Itai Y. Efrat
6d31e392cd nit(vertico): lint embark-file-map bindings 2022-01-13 23:16:03 +02:00
Itai Y. Efrat
09add70efd feat(vertico): add embark-collect-snapshot binding
The C-c C-s binding mirrors the export and writable export bindings.

embark-export is used for type specific exports (such as buffers to an
ibuffer buffer), not for verbatim exports. This is most noticeable if
you want to export a variable list, which gets you to an apropos buffer.
if you just want a list of things to keep around,
embark-collect-snapshot is the tool for the job, but having it be only
on C-; S makes it harder to reach and less visible. C-c C-s is a nice
visible thing to have around.
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
1e2d5485a9 bump: :completion vertico
iyefrat/all-the-icons-completion@a0f34d68cc -> iyefrat/all-the-icons-completion@9e7d456b09
minad/consult@cc8eff9578 -> minad/consult@0940ca0165
minad/marginalia@2fb2787bc3 -> minad/marginalia@9229d88ae4
minad/vertico@eedcb84786 -> minad/vertico@a8fe9a0b2e
oantolin/embark@e08899ef2e -> oantolin/embark@c9b26c2e18
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
4f34635e04 refactor!(vertico): crm keybindings behaviour
BREAKING CHANGE: This commit changes the behaviour of the TAB and RET
keys in a consult-completing read multiple session, in order to make
them more intuitive. The behaviour is now:

- TAB: (unchanged) always select or deselect the current candidate, and
  if the candidate is selected, move the index to the next one (this
  allows for pressing TAB repeatedly to select multiple subsequent
  candidates).

- RET: If no candidates have been selected, select the current candidate
  and exit the completion session. If some have been selected, disregard
  the current candidate and exit.

- S-TAB: (new) like TAB, but the keeps the input.
2022-01-13 23:16:03 +02:00
James Ravn
8746da61c3
fix(javascript): incorrect lsp formatting for tsx
lsp-mode doesn't detect the correct indentation, since it treats the
derived tsx-mode as a web-mode. This change modifies the lsp-mode
internal alist to recognize tsx-mode correctly. Ideally lsp-mode would
have a better way to modify its known mode lists but I couldn't see it.

Ref: emacs-lsp/lsp-mode#3308
2022-01-13 21:51:07 +01:00
Payas Relekar
ec67a6fb2b bump: :lang common-lisp
joaotavora/sly@540a8c5b9a -> joaotavora/sly@2e00c3bd4b
2022-01-13 21:49:16 +01:00
Henrik Lissner
29536a22f0 bump: :tools lsp
emacs-lsp/lsp-mode@c228bce435 -> emacs-lsp/lsp-mode@f49ea4e365
joaotavora/eglot@2c0f262c24 -> joaotavora/eglot@dade5a1487

- lsp-mode now properly installs kotlin-language-server from the correct
URL (#5984).

Fix: #5984
Ref: emacs-lsp/lsp-mode#3315
2022-01-12 16:48:22 +01:00
Henrik Lissner
86034131c4 bump: :editor evil
Dewdrops/evil-exchange@ac50f21b29 -> Dewdrops/evil-exchange@5f0a2d4143
emacs-evil/evil-collection@1b9d5c5d93 -> emacs-evil/evil-collection@0ce1ea96b4
emacs-evil/evil@b00018bf55 -> emacs-evil/evil@a5fd96dadc
redguardtoo/evil-nerd-commenter@63baf2d1c7 -> redguardtoo/evil-nerd-commenter@42ba1a473b

Close: #5983
2022-01-12 01:55:34 +01:00
Henrik Lissner
3df8903071 bump: :tools
andras-simonyi/citeproc-el@538fed794c -> andras-simonyi/citeproc-el@9f783967c1
bdarcus/citar@51b30f2e40 -> bdarcus/citar@b24b5b94b7
emacs-lsp/lsp-mode@3d6a01dde9 -> emacs-lsp/lsp-mode@c228bce435
gagbo/consult-lsp@aaa9a31bc8 -> gagbo/consult-lsp@f4f195046b
joaotavora/eglot@28092ba3af -> joaotavora/eglot@2c0f262c24
magit/forge@a44afa81f1 -> magit/forge@0ff9b8a0de
magit/magit@2e73b66c29 -> magit/magit@0ac05f3962
millejoh/emacs-ipython-notebook@c6696c12eb -> millejoh/emacs-ipython-notebook@6063cee7fb
purcell/envrc@8a9a142cf9 -> purcell/envrc@456c4100de
realgud/realgud@978b455d7d -> realgud/realgud@3c88611c4e
tumashu/posframe@3b1dc400d2 -> tumashu/posframe@6c0e63d6b3
vedang/pdf-tools@a8847b75d3 -> vedang/pdf-tools@4e6c778194
wandersoncferreira/code-review@136c0933ba -> wandersoncferreira/code-review@ccc3795a72
yoshiki/yaml-mode@63b637f846 -> yoshiki/yaml-mode@a79d2a7b92

Close: #5977
Ref: emacs-lsp/lsp-mode#3295
2022-01-12 01:55:34 +01:00
Henrik Lissner
3a3a8dc240 refactor(fortran): conform to conventions 2022-01-12 01:55:34 +01:00
Saxon Jensen
9cba28621f
feat(php): replace php-boris with psysh (#5967)
php-boris is no longer maintained.

Fix: #5965
2022-01-10 02:24:21 +01:00
Zane Shelby
9db71bb7a5 fix(clojure): add clojurec-mode repl+eval handlers 2022-01-10 02:22:21 +01:00
Lele Gaifax
e5213f20e5 nit: fix several documentation typos 2022-01-10 02:21:49 +01:00
Henrik Lissner
85fcac4562 bump: :lang julia
JuliaEditorSupport/julia-emacs@06f6fdb94c -> JuliaEditorSupport/julia-emacs@47f43f7d83
gdkrmr/lsp-julia@809da95c05 -> gdkrmr/lsp-julia@d6688bb131
non-Jedi/eglot-jl@49f170e01c -> non-Jedi/eglot-jl@2e35cf9768
tpapp/julia-repl@3f888ecd30 -> tpapp/julia-repl@e90b1ed2cc
2022-01-08 21:35:36 +01:00
marty
bc47e72984 tweak(web): detect and set angular in web-mode
- Add @angular/core in detecting angular to set the web-angularjs minor
mode

- At the same time set the web-mode-engine to "angular" so that
`format-all` uses prettier to format ionic `*.page.html` files in
addition to `*.component.html` files.

When `format-all` sees the web-mode-engine is set to "angular", it
applies `prettier` as opposed to `html-tidy`, as `tidy` doesn't
recognise angular component tags and hence errors out. The current
web-mode only sets the engine to "angular" for "*.components.html".
However, ionic angular uses file names such as "*.page.html", setting
engine will apply prettier to these html fils.
2022-01-06 15:27:54 +01:00
Henrik Lissner
b51d7d6d7f
merge: pull request #5893 from gilbertwong96/fix/erlang
fix(erlang): fix broken erlang-mode
2022-01-05 04:06:28 +01:00
Celso Bonutti
1b895a0564 fix(default): smartparens rules for haskell
The default haskell-mode rules would result in an extra } appended to
the closing pair (#5448).

Fix: #5448
Close: #5450
2022-01-05 04:05:08 +01:00
Henrik Lissner
d8285d9d4c fix(elixir): eval & repl handlers
set-{eval,repl}-handler! operate on major modes, not minor modes (this
should be corrected upstream, but I'll do so later). This doesn't apply
to set-lookup-handlers!, but I'm changing it too for consistency.
2022-01-05 04:02:30 +01:00
Henrik Lissner
2a515c683a bump: :tools lookup
abo-abo/define-word@6e4a427503 -> abo-abo/define-word@31a8c67405

Ref: abo-abo/define-word#31
2022-01-04 20:59:28 +01:00
GilbertWong
e692d8e9fd
feat(erlang): add doctor tool for erlang module 2022-01-04 10:44:20 +08:00
GilbertWong
0e99b6b952
refactor!(erlang): remove company-erlang
BREAKING CHANGE: Remove `company-erlang` which depends on
`ivy-erlang-complete`. `company-erlang` and `ivy-erlang-complte` have
not been maintained now. The lsp mode provides much better experience
than `company-erlang` and `ivy-erlang-complete`. The
`ivy-erlang-complete` package also has the defect that slow down the
erlang-mode buffer when the buffer is huge enough. It is not a good
choice to integrate ivy-erlang-complete nowadays even as a non-LSP
option.
2022-01-04 10:44:18 +08:00
GilbertWong
beda11068b
bump: :lang erlang
erlang/otp@118cb37bd5 -> erlang/otp@c1ab4b5424

Ref: erlang/otp#5314
2022-01-04 10:42:49 +08:00
Henrik Lissner
7832424843 bump: :ui modeline
seagle0128/doom-modeline@69ede7d719 -> seagle0128/doom-modeline@84573ae5e7

- Fixes an issue where doom-modeline was generating too many iex child
  processes while trying to read the installed version of elixir (see
  #5895).

Fix: #5895
2022-01-03 19:22:28 +01:00
Henrik Lissner
f491dd9e7b fix(magit): gate code-review behind +forge
code-review requires forge, therefore it shouldn't be available if
+forge isn't enabled on the :tools magit module.

Ref: 2d3a68df49
Fix: #5935
2022-01-03 19:13:09 +01:00
Henrik Lissner
b88eb77605
merge: pull request #5908 from ethan-leba/repl-handler
Add :send-region and :send-buffer options to `set-repl-handler!`
2022-01-03 18:12:31 +01:00
Björn Larsson
1a0fd1b7ec fix(magit): unbind M-1 etc. for code-review
code-review is built on magit-sections so it will have the same default
bindings for M-1, M-2 etc. To be consistent with the rest of doom, those
should be used for switching workspace and z1, z2 etc should be used for
toggling outlines in a magit-sections buffer.

This only affects users with :editor (evil +everywhere) enabled.

Amend: 2d3a68df49
2022-01-03 18:10:17 +01:00
Colin Woodbury
024df7ad8b bump: :term vterm
akermu/emacs-libvterm@ed6e867cfa -> akermu/emacs-libvterm@a940dd2ee8
2022-01-03 18:06:43 +01:00
Gavin Downard
96390ef3b9 tweak(dired): don't auto-revert when remote
On slow connections `dired-auto-revert-buffer` causes excessive
slowdowns; this limits its behavior to local files.
2022-01-03 18:06:23 +01:00
Henrik Lissner
659b0ebc1b fix(lsp): lsp--matching-clients? -> lsp--supports-buffer?
Ref: #5933
Amend: 0cb8d1416f
Co-authored-by: Samuel Tschiedel <mukaobr@gmail.com>
2022-01-03 18:02:29 +01:00
Henrik Lissner
67a9573f0d fix(org): tab not invoking cdlatex-tab in headings
In org-mode, if one writes a math expression in a section (i.e. heading)
while using cdlatex, pressing tab indents the section instead of
performing a cdlatex-tab.

This fix takes care of this issue to have the wanted behavior: if in
math environment and hit tab while in section, execute cdlatex-tab.

Close: #5926
Co-authored-by: roiholtzman <roiholtzman@users.noreply.github.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
b37d8481ce tweak(spell): remove RET keybind for +spell/correct
z= and M-$ are available. RET on arbitrary misspellings make DWIM
commands in text modes unpredictable, like org and markdown.
2022-01-03 16:51:51 +01:00
Henrik Lissner
d9dc7339c4 bump: :lang java
emacs-lsp/lsp-java@3246272b43 -> emacs-lsp/lsp-java@ce03cb6574
mopemope/meghanada-emacs@6c57e8a0ae -> mopemope/meghanada-emacs@59c46cabb7

Close: #5944
Co-authored-by: Zero King <l2dy@users.noreply.github.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
cbf911289f bump: :lang clojure
borkdude/flycheck-clj-kondo@a558bda44c -> borkdude/flycheck-clj-kondo@d8a6ee9a16
clojure-emacs/cider@7228402c09 -> clojure-emacs/cider@af2e164998
clojure-emacs/clj-refactor.el@4cb75bd6a2 -> clojure-emacs/clj-refactor.el@12af23ad8b
clojure-emacs/clojure-mode@e1dc7caee7 -> clojure-emacs/clojure-mode@e31186843d
2022-01-03 16:51:51 +01:00
Henrik Lissner
ae130607a6 bump: :editor snippets
hlissner/doom-snippets@3083b2342f -> doomemacs/snippets@3083b2342f
2022-01-03 16:51:51 +01:00
Henrik Lissner
da5c46595c bump: :tools dired
clemera/dired-git-info@91d57e3a4c -> emacs-straight/dired-git-info@9461476a28

Straight created a mirror for dired-git-info at
emacs-straight/dired-git-info and now prioritizes this over the ELPA
recipe, so old commit won't be found.

Ref: emacs-straight/dired-git-info@9461476a28
Fix: #5913
Close: #5917
Co-authored-by: Aryslan Yakshibaev <yak.aryslan.1999@gmail.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
e8551ded5f bump: :tools magit
magit/forge@402773ef7e -> magit/forge@a44afa81f1
magit/magit@65c4485e19 -> magit/magit@2e73b66c29
wandersoncferreira/code-review@b0bedbdb30 -> wandersoncferreira/code-review@136c0933ba

Close: #5947
2022-01-03 16:51:51 +01:00
Henrik Lissner
0cb8d1416f bump: :tools lsp
emacs-lsp/lsp-mode@41173dca4d -> emacs-lsp/lsp-mode@3d6a01dde9
joaotavora/eglot@55c13a9137 -> joaotavora/eglot@28092ba3af

Ref: #5904
Fix: #5927
Close: #5928
Close: #5933
Close: #5945
2022-01-03 16:51:51 +01:00