Commit Graph

16916 Commits

Author SHA1 Message Date
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
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
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
9c2621020e tweak(java): default to +lsp instead of +meghanada
The latter is a simpler default: requires no config and works well ootb.
2022-01-27 03:43:51 +01:00
2d7e0c90ba refactor(lib): add Emacs version to doom/version 2022-01-27 03:43:51 +01:00
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
61cee32d04 docs(eshell): fix +eshell/here docstring 2022-01-27 03:32:10 +01:00
db08aeaa7a docs(clojure): add check for clj-kondo 2022-01-27 03:27:51 +01:00
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
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
94c38f289c merge: pull request #5953 from iyefrat/vertico-updates
`:completion vertico` improvements
2022-01-14 01:11:05 +01:00
3a8f22118a bump: :lang dart
emacs-lsp/lsp-dart@64fb5d9303 -> emacs-lsp/lsp-dart@813d3c92db

Fix: #5877
2022-01-14 01:03:10 +01:00
f42f923350 feat(vertico): add SPC s e to manual preview list 2022-01-13 23:16:03 +02:00
6d31e392cd nit(vertico): lint embark-file-map bindings 2022-01-13 23:16:03 +02:00
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
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
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
5274f1ad4d dev: target master branch 2022-01-13 22:04:20 +01:00
8374438ed9 docs: target master branch in CI badges 2022-01-13 22:04:09 +01:00
f73ae8eee1 dev: remove develop branch stipulation in PR template
Now that we've reclaimed the master branch, the develop branch will soon
be phased out.
2022-01-13 21:54:46 +01:00
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
ec67a6fb2b bump: :lang common-lisp
joaotavora/sly@540a8c5b9a -> joaotavora/sly@2e00c3bd4b
2022-01-13 21:49:16 +01:00
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
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
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
2c02cea461 feat: add EMACS29+ constant 2022-01-12 01:55:34 +01:00
e7eaa3b256 docs: fix roadmap links 2022-01-12 01:55:34 +01:00
3a3a8dc240 refactor(fortran): conform to conventions 2022-01-12 01:55:34 +01:00
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
9db71bb7a5 fix(clojure): add clojurec-mode repl+eval handlers 2022-01-10 02:22:21 +01:00
60cfb383ea fix: actually forward the `select' param to doom/bump-package-at-point
Also, rectify the docstring for `doom/bump-packages-in-buffer', that was
an exact replica of the actual workhorse, `doom/bump-package-at-point'.
2022-01-10 02:21:49 +01:00
e5213f20e5 nit: fix several documentation typos 2022-01-10 02:21:49 +01:00
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
e5e301b3e4 refactor: remove redundant load-file advice
A mistake that snuck into 55c1cac while backporting some code from the
CLI rewrite. It was harmless and likely had no side effects, however.

Amend: 55c1cac43f
2022-01-08 18:55:02 +01:00
c16f38ab1d fix(lib): sort bumpified modules list 2022-01-08 18:55:02 +01:00
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
b51d7d6d7f merge: pull request #5893 from gilbertwong96/fix/erlang
fix(erlang): fix broken erlang-mode
2022-01-05 04:06:28 +01:00
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
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
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
801a1c5b79 fix(erlang): correct featurep! usage 2022-01-04 10:44:20 +08:00
e692d8e9fd feat(erlang): add doctor tool for erlang module 2022-01-04 10:44:20 +08:00
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
beda11068b bump: :lang erlang
erlang/otp@118cb37bd5 -> erlang/otp@c1ab4b5424

Ref: erlang/otp#5314
2022-01-04 10:42:49 +08:00
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
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
dde20aa8fd feat(lib): add doom-font-exists-p
For easier font detection in your config.

Ref: #5948
2022-01-03 18:34:01 +01:00
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
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