Commit graph

639 commits

Author SHA1 Message Date
Tomasz Andrzejak
704aa4ebde Remove double underscore from c header templates
Using double underscore for an identifier in C/C++ invokes undefined
behavior.

From https://eel.is/c++draft/lex.name:

Each identifier that contains a double underscore __ or begins with an
underscore followed by an uppercase letter is reserved to the
implementation for any use.
2021-03-16 10:16:33 +01:00
Benjamin Picardat
e33b21dc46 Fix #4770: New window is focused after split
According to the documentation of `evil-window-split` the variable
`evil-split-window-below` needs to be non-nil for the new window to be
created below; and for `evil-window-vsplit` it is the variable
`evil-vsplit-window-right` that needs to be non-nil for the window to be
created on the right.
2021-03-10 15:48:31 +01:00
Henrik Lissner
f0eb0151f6 evil-respect-visual-line-mode = t
Reverts c733a6a

The previously reported issues seem to be resolved? Just have to wait
and see...

Closes #2447
2021-03-06 14:00:48 -05:00
Henrik Lissner
2a4509c42a editor/evil: fix typo in +evil-window-split-and-follow
And conform these commands to naming conventions.
2021-03-06 10:31:10 -05:00
Henrik Lissner
0917187f20 editor/evil: bind C-w {S,V} to split-and-follow 2021-03-06 09:59:50 -05:00
Henrik Lissner
87e209badc Remove vestigial mentions of the :feature category
It was removed long, long ago.
2021-03-06 00:49:36 -05:00
Henrik Lissner
543d122643 editor/evil: disable evil-collection-outline
Its keybinds are intrusive anywhere outline-minor-mode is enabled.
Derived modes (like org) have their own versions of its keybinds anyway.
2021-03-05 20:09:22 -05:00
Henrik Lissner
88e18fc7c1
Merge pull request #4671 from johanthoren/develop
Add support for parinfer-rust-mode
2021-02-27 23:56:15 -05:00
Johan Thoren
96ba4b0b38
Use easier to read line break.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-28 00:19:12 +01:00
Johan Thoren
1a3c3ddf34
Use setq instead of setq!.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-28 00:18:00 +01:00
Johan Thoren
ca673a437c
Move paren.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 23:43:24 +01:00
Johan Thoren
8262e1b552
Fix incorrect indentation.
Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 21:03:16 +01:00
Johan Thoren
4ff23752f2
Update parinfer module to comply with review.
Also add support for BSD systems.

Signed-off-by: Johan Thoren <johan@thoren.xyz>
2021-02-27 21:01:19 +01:00
Henrik Lissner
e97f2363ea
Merge pull request #4705 from samwhitlock/me_develop
Fixing the gpl snippet template formatting
2021-02-27 10:28:43 -05:00
Henrik Lissner
4030bb366c
Merge pull request #4702 from daanturo/lisp-eval-expression
Enable lispy-mode during eval-expression.
2021-02-27 10:25:38 -05:00
Sam Whitlock
86345887d8
Fixing the gpl template clash.
Need to escape the backticks that should appear as literals in the GPLv3 license.
2021-02-27 15:38:04 +01:00
daanturo
5c7b553e08 Enable lispy-mode during eval-expression. 2021-02-27 14:24:59 +07:00
Henrik Lissner
f1d89bf9c2 Bind gI and gA to new +lookup commands
Since these aren't used otherwise.
2021-02-26 21:33:00 -05:00
Henrik Lissner
c049480cbd Fix evil-join filling non-comments poorly 2021-02-25 13:59:43 -05:00
Henrik Lissner
b8ef501572 Bump evil-textobj-anyblock
noctuid/evil-textobj-anyblock@ff00980f -> willghatch/evil-textobj-anyblock@29280cd

Moved to PR to fix noctuid/evil-textobj-anyblock#12

We will move to targets.el in the future once it's more mature.
2021-02-23 19:21:50 -05:00
Johan Thorén
ec747395c6
Add support for parinfer-rust-mode (#1)
This commit adds support for the module flag +rust, which will use parinfer-rust-mode
instead of parinfer-mode. Parinfer-rust-mode makes use of an external library named parinfer-rust
to do the heavy lifting. As such, --with-modules must be enabled.
2021-02-23 12:14:51 +01:00
Henrik Lissner
2339481208 Fix broken, whitelisted evil-mc commands
Because they weren't being set correctly due to a faulty condition
misreading nil.
2021-02-14 21:14:07 -05:00
Henrik Lissner
383be025dd
Merge pull request #4650 from slackorama/feature/fix_snippets_typo
snippets.el: Prompt should say `edit` and not `alias`.
2021-02-14 17:23:54 -05:00
Henrik Lissner
7679c08d57 Fix #4614 (truly): visual goto-bol w/ evil-mc 2021-02-14 13:53:48 -05:00
Seth Mason
6ebbd94b89 Prompt should say edit and not alias. 2021-02-13 14:20:12 -08:00
Henrik Lissner
cf5b7adb63
Merge pull request #4605 from Dieken/dump-adaptive-wrap-0.8
bump adaptive-wrap
2021-02-12 23:02:55 -05:00
Yubao Liu
404b994caf Bump adaptive-wrap
emacs-straight/adaptive-wrap@8f60ee7 -> emacs-straight/adaptive-wrap@91e939b

Handle non-symbol values of `face` property and don't require `easymenu`
2021-02-12 11:12:45 +08:00
Henrik Lissner
8635fc78bc Bump :editor
DogLooksGood/parinfer-mode@91856b9 -> DogLooksGood/parinfer-mode@8659c99
abo-abo/lispy@5c8a59a -> abo-abo/lispy@38a7df4
emacs-evil/evil-collection@e6824e2 -> emacs-evil/evil-collection@334670e
emacsorphanage/god-mode@f51c8f6 -> emacsorphanage/god-mode@02a402b
gabesoft/evil-mc@7dfb2ca -> gabesoft/evil-mc@f04fb17
hlissner/doom-snippets@33eb93b -> hlissner/doom-snippets@aa5587b
magnars/multiple-cursors.el@83abb05 -> magnars/multiple-cursors.el@a9d7764
noctuid/lispyville@0f13f26 -> noctuid/lispyville@89316f0
redguardtoo/evil-nerd-commenter@563cdc1 -> redguardtoo/evil-nerd-commenter@2730820
2021-02-11 22:05:21 -05:00
Henrik Lissner
36a63d1613 Fix #4614: evil-mc not propagating visual-beg-of-line
...to all cursors, because it wasn't whitelisted.
2021-02-11 22:03:44 -05:00
Kevin Curtet
c4e0cf15dd
Merge branch 'develop' of github.com:hlissner/doom-emacs into develop 2021-02-06 23:32:17 +01:00
Kevin Curtet
9c7508c181
Add ielm-mode to lipsy module hooks 2021-02-06 23:31:32 +01:00
Henrik Lissner
16a495c97d Fix #4548: global TAB overwritten by evil keybind 2021-02-06 06:54:18 -05:00
Janfel
6c163d77d9
Fix +evil:retab 2021-02-02 02:38:12 +01:00
Henrik Lissner
8566cfac7b Bump evil-collection, vterm
emacs-evil/evil-collection@ffbf149 -> emacs-evil/evil-collection@e6824e2
akermu/emacs-libvterm@101ff86 -> akermu/emacs-libvterm@fb12d7f

Closes #4591

Co-authored-by: Michael Lingelbach <mjlbach@users.noreply.github.com>
2021-01-31 04:30:48 -05:00
Henrik Lissner
334e054ab0 Read username from git config github.user
Falls back to user-login-name otherwise.
2021-01-28 21:23:07 -05:00
Henrik Lissner
59d3d26901
Merge pull request #4530 from razzmatazz/evil--insert-newline-fix-within-a-comment
Fix +evil--insert-new-line advice when opening new line inside a comment
2021-01-27 02:44:34 -05:00
Henrik Lissner
d0e7451de8
Merge pull request #4533 from danlamanna/fix-module-404s
Fix various broken links
2021-01-27 02:42:40 -05:00
Henrik Lissner
2ad1eab6ee Bump evil-collection
emacs-evil/evil-collection@e7be9f5 -> emacs-evil/evil-collection@ffbf149

Adds racket-describe keybinds
2021-01-18 19:59:18 -05:00
Henrik Lissner
75ac7be289 Fix package-lint warnings in elisp package template 2021-01-18 17:53:59 -05:00
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