Henrik Lissner
f085cb6424
Fix #3606 : disable evil-snipe in treemacs
2020-07-22 20:53:57 -04:00
Henrik Lissner
2a325167f8
Merge pull request #3249 from sei40kr/eglot-improve
...
tools/lsp: improve eglot support
2020-07-22 20:41:22 -04:00
Henrik Lissner
f3bb23aa73
Fix g s SPC not targeting all windows
2020-07-21 16:19:08 -04:00
Henrik Lissner
804652366a
Bump :editor evil
...
emacs-evil/evil@017b442 -> emacs-evil/evil@2bc6ca3
janpath/evil-numbers@c2cfdd1 -> janpath/evil-numbers@006da40
Fixes #3588
2020-07-19 15:47:54 -04:00
Henrik Lissner
63a94698a2
Fix #3509 : add swiper-mc to mc/cmds-to-run-once
2020-07-18 16:59:54 -04:00
Henrik Lissner
77f554c63d
Prevent evil-collection loading too early
...
A recent update causes evil-collection-process-menu to load immediately
at startup (because `simple` is loaded immediately), so we defer it
until process-menu-mode is called.
Loading process-menu so early pulls in evil far too early, causing other
issues, like undoing all of evil's prior-to-loading keybindings.
2020-07-17 23:34:44 -04:00
Henrik Lissner
72c03965cc
Bump :editor evil
...
emacs-evil/evil@25fc5c6 -> emacs-evil/evil@017b442
emacs-evil/evil-collection@e065da3 -> emacs-evil/evil-collection@3e62b6b
emacs-evil/evil-surround@1c34944 -> emacs-evil/evil-surround@346d4d8
redguardtoo/evil-nerd-commenter@1bd2de5 -> redguardtoo/evil-nerd-commenter@87734b9
Some functionality has been upstreamed into evil-collection and thus
removed from their respective modules.
Closes #3577
2020-07-17 19:40:19 -04:00
Seong Yong-ju
6798966f78
editor/format: Use eglot LSP formatter
2020-06-24 01:56:26 +09:00
Henrik Lissner
991a205ebd
Fix wrong-number-of-args error on +format/region-or-buffer
2020-06-13 00:43:48 -04:00
yoavm448
956a90598e
Add lispy to evil-mc-incompalible-minor-modes
2020-06-07 01:57:36 +03:00
Henrik Lissner
5ecd83fcfa
Fix truncated text object description in readme
2020-06-06 03:59:08 -04:00
Henrik Lissner
b2919ee5d6
Fix #2639 : duplicate snippets in completion prompt
2020-06-05 02:52:18 -04:00
Henrik Lissner
7a8bf22e41
Change gzu to delete cursors in visual selection
...
Will still undo last cursor in normal mode.
2020-06-05 00:33:57 -04:00
Henrik Lissner
51ffacb4d9
Fix gzz not toggling evil-mc cursors in normal mode
2020-06-05 00:12:26 -04:00
Henrik Lissner
8da2472bb4
Inhibit file templates in org-journal-mode
2020-06-04 20:13:29 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board
2020-06-04 20:13:28 -04:00
Henrik Lissner
37b1a78dcd
Bump :editor evil
...
emacs-evil/evil-collection@1237452 -> emacs-evil/evil-collection@e065da3
emacs-evil/evil-surround@9b0b17f -> emacs-evil/evil-surround@1c34944
emacs-evil/evil@3f3b2fe -> emacs-evil/evil@25fc5c6
hlissner/evil-snipe@2ba6353 -> hlissner/evil-snipe@6dcac7f
ninrod/exato@d5daea3 -> ninrod/exato@aee7af7
Closes #3260
2020-05-31 06:10:46 -04:00
Henrik Lissner
024503b2f4
Add ${...} support to evil-surround in scala
...
For string interpolation.
2020-05-28 04:40:38 -04:00
Tudor Roman
649052337b
fix +format/region when formatting with LSP
2020-05-26 18:16:23 +03:00
Henrik Lissner
3a38fc633c
Change doom-{interactive,debug}-mode suffix to -p
...
Because these are not really modes.
Also makes `doom-debug-mode` an actual (global) minor mode.
2020-05-25 03:43:40 -04:00
Henrik Lissner
d8fda76c7d
yas-also-auto-indent-first-line = nil
...
Stop yasnippet from aggressively reindenting the whole snippet; assume
the user is expanding the snippet exactly where they want it.
Half-fixes #3211
2020-05-24 14:29:41 -04:00
Henrik Lissner
090a68ab8f
Add +format-with-lsp variable
...
To control whether or not to use LSP code formatter when it is
available.
2020-05-21 01:20:00 -04:00
Henrik Lissner
4c61f22132
Fix #3175 : don't format org-exported buffers
...
By inhibiting the formatter in temp or special buffers.
2020-05-20 04:46:37 -04:00
Henrik Lissner
f0632f812b
Bump :editor evil
...
emacs-evil/evil@d243eae -> emacs-evil/evil@3f3b2fe
emacs-evil/evil-collection@ba36304 -> emacs-evil/evil-collection@1237452
To include emacs-evil/evil-collection#335
2020-05-18 17:17:11 -04:00
Henrik Lissner
470fe21098
Merge pull request #3137 from CeleritasCelery/spell
...
Wrap flyspell-correct-at-point in feature check
2020-05-18 03:00:22 -04:00
Troy Hinckley
993a0770e5
Allow the user to override lispyville themes
2020-05-17 10:29:25 -06:00
Troy Hinckley
00ddb2eba6
Only rebind ispell-word if flyspell-correct is enabled
...
flyspell-correct-at-point is not defined unless the the spell module is
enabled.
2020-05-16 22:33:33 -06:00
Henrik Lissner
ea18c83c0a
General refactors & reformatting across the board
2020-05-15 01:44:53 -04:00
Henrik Lissner
abb9ab7674
Fix :mc/REGEXP not placing real cursor in correct position
...
With ':mc/abc' we should get
a b c
a b [a]bc
a [a]bc c
[a]bc b c
a b c
Instead, we got
a b c
a b abc
a [a]bc c
[a]bc b c
a b c
And the real cursor would be somewhere else (on the same column it was
left in when you were in visual mode).
2020-05-13 15:23:19 -04:00
Henrik Lissner
7472cffadd
Integrate LSP into +format/{buffer,region} commands
...
Relevant to #1652
2020-05-08 22:04:59 -04:00
Henrik Lissner
0f696ec8b3
Merge pull request #3017 from sei40kr/fix-set-formatter
...
Fix set-formatter! documentation
2020-05-07 03:19:00 -04:00
Henrik Lissner
680ab78767
Merge pull request #3050 from sei40kr/fix-java-templates
...
Fix Java file templates
2020-05-07 01:25:25 -04:00
Seong Yong-ju
b8e85a42c7
Remove .yas-setup.el for java-mode
2020-05-07 08:28:12 +09:00
Henrik Lissner
9a628c7a12
Fix missing paren in +format/region-or-buffer #3054
...
Because I'm a derp
2020-05-06 16:43:42 -04:00
Henrik Lissner
200ab5b9af
Fix #3054 : format with lsp only if server is capable
...
And fall back to format-all otherwise.
2020-05-06 16:29:32 -04:00
Henrik Lissner
da2247e3d6
Remove redundant +default/lsp-format-region-or-buffer command
2020-05-06 15:14:16 -04:00
Seong Yong-ju
53eb32ea16
Fix Java file templates
2020-05-06 18:24:10 +09:00
James Ravn
300bc65918
Use lsp-format-region-or-buffer if available
...
Currently the user has to select `SPC c F` for lsp format. But if
lsp-mode is enabled, the user will always want to use the LSP formatter.
So this changes the default `SPC c f` to use lsp formatter if available.
This simplifies the interface a bit so the user doesn't have to worry
about selecting the "right" format, just like how other commands get
auto bound to LSP functions.
2020-05-05 09:52:44 +01:00
Henrik Lissner
35591cfc4c
Correct map! indentation
...
...now that we have proper property-list indentation (thanks to
03ecfed1a
).
2020-05-04 16:53:26 -04:00
Henrik Lissner
c1f973bf4a
Fix #3037 : gr/gR not bound on correct elfeed keymap
2020-05-04 16:51:21 -04:00
Henrik Lissner
f998c912c1
Fix evil-collection-minibuffer for first minibuffer
...
evil-minibuffer-setup-minibuffer didn't kick in until the second time
you invoked a minibuffer after startup.
2020-05-02 17:23:50 -04:00
Henrik Lissner
3eafe10874
Switch to hlissner/evil-escape fork
...
To fix syl20bnr/evil-escape#91 and syl20bnr/evil-escape#93 , since the
package is unmaintained.
2020-05-02 13:17:10 -04:00
Henrik Lissner
69868a8f47
Fix evil-escape in evil-collection-powered minibuffer
2020-05-01 18:39:40 -04:00
Seong Yong-ju
e29e20cc52
Fix set-formatter! documentation
...
Remove :install from supported keywords.
2020-05-01 13:08:28 +09:00
Henrik Lissner
08f139391d
Bump :editor
...
PythonNut/evil-easymotion@79c13ed -> PythonNut/evil-easymotion@f96c2ed
abo-abo/lispy@c7e282a -> abo-abo/lispy@cdaa9c7
clemera/objed@8dc1770 -> clemera/objed@e89d8da
emacs-evil/evil-collection@493d523 -> emacs-evil/evil-collection@ba36304
emacs-evil/evil@8aa6337 -> emacs-evil/evil@d243eae
hlissner/doom-snippets@feaedeb -> hlissner/doom-snippets@422f683
hlissner/evil-snipe@3ec8adf -> hlissner/evil-snipe@2ba6353
joaotavora/yasnippet@ac03c2f -> joaotavora/yasnippet@5b1217a
mrkkrp/vimish-fold@d3248a4 -> mrkkrp/vimish-fold@6368523
redguardtoo/evil-nerd-commenter@747e346 -> redguardtoo/evil-nerd-commenter@1bd2de5
We're also transitioning from abbreviated SHA1 hashes to full ones. See
45cdfb125
for why.
2020-04-30 01:28:02 -04:00
Henrik Lissner
d12752324a
Introduce letf! convenience macro
...
A more succinct cl-letf, which allows for local functions and macros.
2020-04-29 23:48:21 -04:00
Henrik Lissner
91c00d4756
Use +word-wrap-mode instead of visual-line-mode default
...
If the word-wrap module is enabled.
2020-04-29 15:54:21 -04:00
Henrik Lissner
e9b288744d
Support evil-collection-setup-minibuffer
2020-04-27 16:32:21 -04:00
Henrik Lissner
c1127a5bde
Rewrite move/copy/delete file commands
...
To use rename-file, copy-file and delete-file, so these commands can
enjoy the benefits of any plugins that have advised these, like org-roam
does for rename-file.
2020-04-27 01:51:18 -04:00
Henrik Lissner
50ff934ff2
Fix #2832 : filename modifiers replaced with empty strings
2020-04-26 04:12:33 -04:00