Commit graph

777 commits

Author SHA1 Message Date
Henrik Lissner
3106443707 fix(file-templates): +file-templates/debug
Command was previously inoperable (threw an error).
2021-10-18 01:15:09 +02:00
Kenneth Lin
380d04f890
fix(evil): reference to removed command (#5608)
+vc/browse-at-remote-file-or-region no longer exists.
+vc/browse-at-remote seems like the reasonable replacement.
2021-10-11 00:13:11 +02:00
Henrik Lissner
b092a8f8e7 bump: :editor evil
emacs-evil/evil-collection@bc5a02ed85 -> emacs-evil/evil-collection@6709c1ec41
emacs-evil/evil@d8f5732708 -> emacs-evil/evil@ebae35360c
2021-10-10 20:15:40 +02:00
Henrik Lissner
0bb4d4dfcb refactor: switch buffer/frame/window hooks
Emacs 27 introduced a bunch of `window-*-change-functions` hooks,
including `window-selection-change-functions` and
`window-buffer-change-functions`, which handles 98% of the use case for
Doom's `doom-switch-{buffer,window,frame}-hook` hooks, so I've rewritten
them to use them under the hood, which amounts to simpler code and fewer
hacks.
2021-10-10 18:36:46 +02:00
Artem Smaznov
68c5336972
fix(evil): disable evil-snipe in dired (#5417)
Fix #3359
2021-10-07 03:11:03 +02:00
Henrik Lissner
4549b275f2 fix(format): format-all-mode not activating
Also makes format-all log more when doom-debug-mode is on.

Fix #5589
2021-10-06 13:58:16 +02:00
Henrik Lissner
ee890064f8 bump: :editor evil
emacs-evil/evil-collection@8a75a03656 -> emacs-evil/evil-collection@bc5a02ed85
emacs-evil/evil@82e5becae2 -> emacs-evil/evil@d8f5732708

Improves first-load time for consult commands, thanks to
emacs-evil/evil-collection@03d80be41b.

Ref emacs-evil/evil-collection#539
Ref emacs-evil/evil-collection@03d80be41b
2021-10-06 01:30:45 +02:00
Henrik Lissner
45c759d7d7 fix(evil): evil-join fails to join commented lines
Fix #5558
2021-10-05 02:33:15 +02:00
Daanturo
f794e8b58a feat(rotate-text): add enable & disable 2021-10-05 02:29:59 +02:00
Colin Woodbury
fc79256de5
fix(parinfer): robust check for shared Rust object
This helps other platforms like Nix that put shared objects in
interesting places.
2021-09-29 15:03:36 -07:00
Colin Woodbury
8377046e5a
docs(parinfer): update README to latest template 2021-09-29 15:03:36 -07:00
Colin Woodbury
be137e04b0
refactor!(parinfer): drop support for parinfer-mode
BREAKING CHANGE: It is no longer maintained, and its author directly
recommends `parinfer-rust-mode`.

Fix #4323
2021-09-29 15:03:36 -07:00
Colin Woodbury
c1ecbb7503
fix(parinfer): unhog binding of SPC m m
This was previously clobbering the underlying binding to the ubiquitous
`macrostep-expand` function in Elisp buffers.
2021-09-29 15:03:32 -07:00
Sam Hedin
771b7147c9
revert: "Add set -euo pipefail to sh-mode file template"
Revert ce2fee138a
Close #5428
2021-09-23 11:36:09 +02:00
HyunggyuJang
33e922645b
fix(snippets): yas-expand error on yas-choose-value (#5429)
`+snippets-prompt-private` was overzealous intercepting the candidates fed to
`yas-choose-value`. For example, expanding the `jupyter` snippet in org mode
results in:

\#+begin_src jupyter-Wrong type argument: yas--template, "python" :session :async yes
...
\#+end_src
2021-09-15 18:59:43 +02:00
Henrik Lissner
a0a45ce81a bump: :editor evil
emacs-evil/evil-collection@9be3805b60 -> emacs-evil/evil-collection@8a75a03656
emacs-evil/evil@b237462fee -> emacs-evil/evil@82e5becae2
hlissner/evil-snipe@a9b9b39a79 -> hlissner/evil-snipe@1a28d718c8
juliapath/evil-numbers@cd23a7b458 -> juliapath/evil-numbers@8ce0066fa4
redguardtoo/evil-nerd-commenter@118bebd02a -> redguardtoo/evil-nerd-commenter@6bc41317ba

Fixes evil-collection-magit keybinds for magit-stash and
magit-worktree (on Z).

Ref emacs-evil/evil-collection@940dfe91aa
Ref emacs-evil/evil-collection@53a76e15df
Fix #5260
2021-09-15 17:47:17 +02:00
Itai Y. Efrat
2fdcefa831 feat(default): add +default/diagnostics
Unify flycheck-list-errors and flymake-show-diagnostics-buffer under
+default/diagnostics, and use consult-lsp-diagnostics if the lsp and
vertico modules are active.
2021-09-15 01:02:46 +03:00
Alex Griffin
a5ce61aa55 fix(multiple-cursors): keybind conflict with embark
Fixes #5374.
2021-09-14 19:06:04 +02:00
bartuka
b598d83aeb
feat(file-templates): add clojure gitignore template (#5357) 2021-09-14 14:27:55 +02:00
Henrik Lissner
8e30579823 tweak(evil): reduce keybind conflicts between outline & org
This doesn't fix a particular issue, but makes designing keybinds for
org-mode more predictable and less vulnerable to unpredictable changes
imposed by evil-collection.
2021-09-13 17:29:12 +02:00
Itai Y. Efrat
2bfb8be383 fix(evil): use evil-collection for package-menu
I can't find a rationale for this in the git history, and from looking
through the evil-collection entry I can't think of one.
2021-09-11 18:48:40 +02:00
Henrik Lissner
d88948f764 fix(file-templates): github user in elisp packages 2021-08-16 11:36:09 -04:00
Henrik Lissner
6c52e33302 fix(evil): don't load help.el twice
a2a128d3 changed prefix-help-command to use embark. This commit fixes
prefix-help-command getting reset to describe-prefix-bindings due to
help.el setting it at top-level because it is eventually loaded twice
due to defer-feature!, which removes a symbol from emacs' list of loaded
features.

Ref a2a128d3a5
2021-08-05 21:24:01 -04:00
Henrik Lissner
06392a723f refactor: rename orig-fn arg in advice to fn
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Henrik Lissner
0ca34af323 feat(file-templates): improve diagnostic command
Emit a more helpful error message if a rule was found but yasnippet
can't find the associated snippet.
2021-08-02 15:00:44 -04:00
Emin Umut Gerçek
ccd20847c7
fix(lispy): evil-escape keybind collision on j
* Remove evil-escape from lisp modes
* Use evil-escape-inhibit-functions hook

Close #5328
2021-08-01 18:15:19 -04:00
andrewsuperlegit
b633e920cc
Fixed the keybind for fold/unfold all
The keybinding for fold all and unfold all was wrong (was missing a C-f)
2021-07-29 18:46:08 -05:00
LuoZhipeng
bf488394e9 editor/format lsp feature requirement from textDocument/rangeFormatting to textDocument/formatting. 2021-07-27 17:49:57 +08:00
Wetlize
e12519d250 editor/evil: Add gr keybinding to refresh helpful buffers 2021-07-25 22:36:01 +03:00
Itai Y. Efrat
a0eb4e9b65 completion/selectrum -> completion/vertico, part 3
- Rename all functions and variables in the module to reflect the
  namechange (and the irc jump function)
2021-07-25 02:52:04 +03:00
Itai Y. Efrat
24eaa1317c completion/selectrum -> completion/vertico, part 2
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
  detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
7ec7134947 selectrum: improve ivy parity
- add `:pg` bindings
- add `selectrum-minibuffer-map` to `+default-minibuffer-maps`
- add `consult-notmuch`
- add selectrum option for `mu4e-completing-read-function`
- document more parity failings
2021-07-25 02:49:41 +03:00
Henrik Lissner
d289fac8d3
Merge pull request #5228 from Zetagon/lispyville-fix
Remove workaround for upstream lispyville PR
2021-07-23 16:16:22 -04:00
Henrik Lissner
ed21643fec
Merge pull request #5279 from daanturo/evil-multiedit-compat-for-multiple-cursors
Improve multiple-cursors compatibility with evil-multiedit
2021-07-23 16:15:14 -04:00
Henrik Lissner
2a8d376fcb
Merge pull request #5284 from naistran/patch-4
Fix formatting ignoring buffer-local variables
2021-07-23 16:14:59 -04:00
Henrik Lissner
39e39d7f3f Bind gO -> imenu
In Neovim, gO is bound to "open outline for current buffer". Emacs'
analogue for this is imenu. Plus, evil has no default keybind for gO.
2021-07-23 15:44:12 -04:00
Nathan Tran
ad24061a81
Fix formatting ignoring buffer-local variables 2021-07-24 01:54:06 +10:00
Daanturo
65561df25f Improve multiple-cursors compatibility with evil-multiedit
After exiting `multiple-cursors`, when the previous state is
multiedit{,-insert}, return to normal state.

Use case:
- Mark occurrences with evil-multiedit
- `iedit-switch-to-mc-mode` ("M-M")
- Make some edit
- "C-g" to exit `multiple-cursors`

Expected behaviour: Return to evil's normal-state
Observed behaviour before the patch: Emacs stays on emacs-state
2021-07-22 11:38:41 +07:00
Henrik Lissner
084918f4ea editor/evil: correct evil-collection module name 2021-07-12 00:19:49 -04:00
Henrik Lissner
69cfc60243 Bump :editor
abo-abo/lispy@38a7df4 -> abo-abo/lispy@e9731aa
emacs-evil/evil-collection@b6025cf -> emacs-evil/evil-collection@9be3805
emacs-evil/evil@1b3db63 -> emacs-evil/evil@b237462
emacs-straight/adaptive-wrap@91e939b -> emacs-straight/adaptive-wrap@0d5b4a0
emacsorphanage/god-mode@02a402b -> emacsorphanage/god-mode@1d7d647
hlissner/doom-snippets@f7747da -> hlissner/doom-snippets@5c0eb5b
justinbarclay/parinfer-rust-mode@f130fa0 -> justinbarclay/parinfer-rust-mode@c2c1bbe
magnars/multiple-cursors.el@7b13b03 -> magnars/multiple-cursors.el@616fbdd
noctuid/lispyville@89316f0 -> noctuid/lispyville@9c14bed
redguardtoo/evil-nerd-commenter@b8ac35f -> redguardtoo/evil-nerd-commenter@118bebd
willghatch/evil-textobj-anyblock@29280cd -> willghatch/evil-textobj-anyblock@29280cd
2021-07-11 17:52:08 -04:00
Itai Y. Efrat
34fae1c01c Remove remaining Emacs27+ checks
- Remove remaining `EMACS27+` checks, since the whole codebase is
  assumed to run at version 27 or above now
- Remove `EMACS27+` definition since it's no longer needed
2021-07-10 16:03:41 +03:00
Henrik Lissner
3bbebd245e
Merge pull request #5202 from meltinglava/develop
removed unused use in "file-template rust main"
2021-07-08 18:04:20 -04:00
Henrik Lissner
bbd15a16ee
Merge pull request #5179 from RBckmnn/Fix#5128
Fix #5128: No format-on-save by lsp-formatters
2021-07-08 17:45:33 -04:00
meltinglava
85264fea5d
Merge branch 'hlissner:develop' into develop 2021-07-08 13:47:55 +02:00
Henrik Lissner
400fa0836d editor/evil: update disable instructions in readme
Fixes #5242
2021-07-07 12:05:15 -04:00
Leo Okawa Ericson
7b3b74c2ad Remove workaround for upstream lispyville PR
https://github.com/noctuid/lispyville/pull/297 was merged which makes
the changes from https://github.com/hlissner/doom-emacs/pull/5101 obsolete.
2021-07-03 18:47:52 +02:00
meltinglava
3eac1f4e8a removed unused use in "file-template rust main" 2021-06-23 22:52:27 +02:00
Ralf Beckmann
012b759e98 Fix #5128: No format-on-save by lsp-formatters
A call to `format-all--formatter-executable` with the formatter being
equal to `'lsp` or `'eglot` will return `nil`. Therefore, `funcall` was
never called in those cases.
2021-06-14 23:52:16 +02:00
Henrik Lissner
751569f545 Fix +tabs:previous-or-goto typo 2021-06-06 17:49:26 -04:00
Henrik Lissner
47bce8856d Fix gr in compilation buffers (for evil users) 2021-06-06 01:19:49 -04:00