Commit Graph

600 Commits

Author SHA1 Message Date
Dan LaManna
08354f3316 Fix various broken links 2021-01-17 15:08:21 -05:00
Saulius Menkevicius
198712060a Fix +evil--insert-new-line advice when opening new line inside a comment.
`comment-line-break-function` requires a single `soft-newlines` argument.
2021-01-17 15:53:23 +02:00
Henrik Lissner
042fd4d929 Fix obsolete case alias compiler warnings 2021-01-10 04:56:40 -05:00
Henrik Lissner
2b53df56e5 Bump :editor evil
emacs-evil/evil-collection@ab5bb7c -> emacs-evil/evil-collection@e7be9f5
emacs-evil/evil@d6cf668 -> emacs-evil/evil@cc9d688
mamapanda/evil-traces@bc25cae -> mamapanda/evil-traces@290b532

Fixes `(wrong-number-of-arguments (3 . 4) 2)` on Emacs HEAD for
evil (other packages may still be problematic).
2021-01-09 19:43:13 -05:00
Sam Whitlock
670c8d519d Inlining the uuid function 2021-01-07 11:40:50 +01:00
Sam Whitlock
c0c932ae09 Improving snippet lookup behavior
This enables snippets to be accessed by UUID in parent modes of the
current mode. Prior behavior was to only look up for the current mode,
but the active modes (and those suggested in the prompt) include
parent-mode snippets (e.g., text-mode snippets when major-mode is org-mode).
2021-01-07 09:05:18 +01:00
Henrik Lissner
c12eb117e9 Merge pull request #4447 from iyefrat/develop
:editor fold - minor documentation fix
2021-01-03 19:33:06 -05:00
Henrik Lissner
6970903a43 Fix #4465: >,< not shifting whole lines
This fixes make > and < behave as it does in vim in regular visual mode.
2021-01-03 17:18:43 -05:00
Itai Y. Efrat
354fb748f3 :editor fold - minor documentation fix 2020-12-17 20:25:23 +02:00
Henrik Lissner
9490d42cd3 Comment revision 2020-12-14 15:48:29 -05:00
Sam Whitlock
99a83ca18f A workaround for formatting org mode
If point is in a source block, format that source block.
Else don't try to format the buffer. format-all-buffer does not support
org mode.
2020-12-13 15:36:56 +01:00
Henrik Lissner
765b6dcfca Unset unused markers
In case of overlay leaks.
2020-12-12 15:56:36 -05:00
Henrik Lissner
d149c59d2e Add emacs mode checks to insert mode checks
This is to accommodate users who default to emacs mode, rather than
insert mode. The two are also very alike, so many of these checks should
apply to both (almost) equally.
2020-12-11 17:38:09 -05:00
Henrik Lissner
2772ca8e70 Conditionally switch to insert mode on snippet expansion
If already in insert (or emacs) state, don't switch mode when expanding
a yasnippet snippet.
2020-12-11 15:50:02 -05:00
Henrik Lissner
863063b60d Defer internal help & help-mode packages
To simplify load order so users can easily modify help-mode-map after
evil-collection has. e.g.

  (map! :after help
        :map help-mode-map
        :n "C-o" nil)
2020-12-11 15:50:02 -05:00
Henrik Lissner
96d7e50f3e Distinguish <C-i> from "C-i" 2020-12-11 15:50:02 -05:00
Henrik Lissner
7838e312e2 Bump :editor
DogLooksGood/parinfer-mode@eaad857 -> DogLooksGood/parinfer-mode@91856b9
abo-abo/lispy@0a9dcfd -> abo-abo/lispy@5c8a59a
clemera/objed@dea5a64 -> clemera/objed@70f9fb5
emacs-evil/evil-collection@05ed92a -> emacs-evil/evil-collection@ab5bb7c
emacs-straight/adaptive-wrap@319db64 -> emacs-straight/adaptive-wrap@8f60ee7
gabesoft/evil-mc@4d4c017 -> gabesoft/evil-mc@7dfb2ca
hlissner/doom-snippets@e1cbbdf -> hlissner/doom-snippets@33eb93b
magnars/multiple-cursors.el@b880554 -> magnars/multiple-cursors.el@83abb05
matsievskiysv/vimish-fold@9d12e39 -> matsievskiysv/vimish-fold@a6501cb
2020-12-05 16:55:27 -05:00
Henrik Lissner
d88e0795b6 Allow eldoc after doom/escape or evil state change 2020-12-02 17:58:10 -05:00
Henrik Lissner
c1bdd63dcd Bump evil-collection
emacs-evil/evil-collection@52b6479 -> emacs-evil/evil-collection@05ed92a

evil-magit was ported to evil-collection

Half-addresses #4324
2020-11-27 22:20:31 -05:00
Henrik Lissner
16344d0f5e Fix #4286: incorrect cursor color 2020-11-21 01:39:25 -05:00
Akhil Wali
53f8e8b249 Enable god-mode support for which-key if required
Signed-off-by: Akhil Wali <akhil.wali.10@gmail.com>
2020-11-19 19:06:10 +13:00
Akhil Wali
42cb866f50 Bump :editor god
emacsorphanage/god-mode@ad2e674 -> emacsorphanage/god-mode@f51c8f6

Signed-off-by: Akhil Wali <akhil.wali.10@gmail.com>
2020-11-19 19:06:09 +13:00
Henrik Lissner
523ced6e9a Fix #4127: arrayp error on some snippets via +snippets/edit 2020-11-14 14:16:01 -05:00
Henrik Lissner
a14fb64c0c Fix #4268: off-by-one region on double-click 2020-11-14 13:58:57 -05:00
Henrik Lissner
da54fa98ce Fix #4271: prevent file-templates in org-capture 2020-11-14 12:57:29 -05:00
Henrik Lissner
a68b49a98e Append evil cursor color init hooks
Makes it easier for users to add their own customizations to the cursor
before this fires.
2020-11-10 18:36:48 -05:00
Henrik Lissner
3253f7c86a Bump :editor evil
emacs-evil/evil-collection@a21725f -> emacs-evil/evil-collection@52b6479
emacs-evil/evil@373a57e -> emacs-evil/evil@d6cf668
redguardtoo/evil-nerd-commenter@b670f69 -> redguardtoo/evil-nerd-commenter@563cdc1
2020-11-10 18:36:48 -05:00
Henrik Lissner
ee6c27c2a0 Merge pull request #4143 from innerout/fold-docs
Add emacs bindings and documentation in fold module
2020-11-06 02:33:53 -05:00
George Xanthakis
d50b1528b8 Remove unnecessary use-package statement 2020-11-04 11:43:26 +02:00
Henrik Lissner
5d5d94d49c Bump :editor snippets
hlissner/doom-snippets@d97c65e -> hlissner/doom-snippets@e1cbbdf

Fixes #4127
2020-11-04 03:02:01 -05:00
Henrik Lissner
dec573c4e5 Allow formatter in some "special" buffers
Like org-src-edit and scratch buffers.

Fixes #3905
Closes #3915
2020-11-03 21:26:07 -05:00
Chris Rose
57e9b89b80 Suppress format-all-mode error when no formatter is available
Having this on renders it difficult to work with debug-on-error, since a
_lot_ of filetypes don't have formatters
2020-11-01 08:52:31 -08:00
George Xanthakis
a88d29580d Update documentation with new keybinds 2020-10-30 20:27:24 +02:00
George Xanthakis
7eaf402c0b Lazy load vimish-fold 2020-10-29 23:35:05 +02:00
Henrik Lissner
2b023357ee Merge pull request #4126 from tecosaur/licence-gpl3-prefill
Licences: Add tabstops with defaults to gpl3
2020-10-29 02:07:48 -04:00
Erlend Hamberg
d21d86aafc Add single quotes to ‘any quote’ text objects 2020-10-28 08:48:01 +01:00
Henrik Lissner
471028ce94 Bump :editor snippets
hlissner/doom-snippets@60c57d6 -> hlissner/doom-snippets@d97c65e

Includes new clojure-mode snippets
2020-10-27 23:47:59 -04:00
Henrik Lissner
e574c3470d Limit evil-textobj-anyblock to non-quotes
Now that we have a dedicated q text object.
2020-10-27 23:20:22 -04:00
Henrik Lissner
164b997cb0 Add q text-object for all quotes 2020-10-27 23:18:06 -04:00
George Xanthakis
3afc81662a Add documentation for the fold module 2020-10-24 00:27:09 +03:00
George Xanthakis
848e117e24 Add vimish-fold binds when evil is off 2020-10-24 00:16:47 +03:00
TEC
3d993286c0 Licences: Add tabstops with defaults to gpl3 2020-10-22 02:09:22 +08:00
Henrik Lissner
86841da12f Merge pull request #4120 from systemctl603/develop
Format with LSP if supported on save
2020-10-21 12:03:22 -04:00
Henrik Lissner
1c6ea87832 Remap comment-line to evilnc-comment-or-uncomment-lines 2020-10-20 16:52:48 -04:00
S. Arjun
30c29cacf1 Update config.el 2020-10-20 18:33:31 +05:30
S. Arjun
41d9e4b161 Update config.el
Use LSP formatting when server supports 'textDocument/formatting'
Solves hlissner/doom-emacs#3626
2020-10-19 19:55:54 +05:30
Henrik Lissner
923e8c88ee Extend g s {w,W,e,E,ge,gE} scope to visible buffer
Instead of only the current line.
2020-10-15 18:13:42 -04:00
Henrik Lissner
d105a0400c Add ess-smart-comma support to evil-mc 2020-10-14 01:29:46 -04:00
Henrik Lissner
c37aa52908 Remove redundant evil-collection init code 2020-10-13 00:02:03 -04:00
Henrik Lissner
b6c562b015 Fix #4080: load evil-collection-xwidget normally
Turns out it doesn't need to be lazy loaded. Somehow, I remember
xwidget.el being pulled at startup, but either I'm crazy or it doesn't
seem to be the case anymore.
2020-10-12 23:55:38 -04:00