Jeetaditya Chatterjee
c3e360eeaa
tweak(tree-sitter): add tree sitter check to foldp
...
instead of just checking if ts-fold is enabled I also check i
tree-sitter mode is actually enabled if not it will move onto hidehshow
2022-05-22 21:26:01 +01:00
Jeetaditya Chatterjee
c1f640209a
feat(fold): add ts-fold support to wrappers
...
Changes:
- add +fold--ts-fold-p which only checks if the feature is around
- add ts-fold into +fold/toggle, +fold/open, +fold/close
- update doc strings
2022-05-22 21:26:01 +01:00
Jeetaditya Chatterjee
83d22fe5ef
feat(fold): add ts-fold
2022-05-22 21:26:01 +01:00
Samuel Tschiedel
488ad07cc5
fix(evil): define *-any-quote directly
...
Defining `*-any-quote` objects via the exiting `*-block` helpers leads
to incorrect behaviour, where the trailing boundary is also included as
part of the selection (cursor on `|`, selection between `|`):
```
start: "te|st"
v i q: "|test"|
```
The expected behaviour is the same as `v i "`:
```
start: "te|st"
v i q: "|test|"
```
Fix : #5698
2022-04-25 16:38:40 +02:00
Henrik Lissner
f6fd2dc000
bump: :editor
...
abo-abo/lispy@bf31576802 -> abo-abo/lispy@df1b7e614f
cute-jumper/evil-embrace.el@464e8ec52f -> cute-jumper/evil-embrace.el@7b5a539cfe
doomemacs/snippets@3083b2342f -> doomemacs/snippets@2d031f7231
edkolev/evil-lion@6b03593f5d -> edkolev/evil-lion@4da660e124
emacs-evil/evil-collection@e69abfcb1c -> emacs-evil/evil-collection@e557188692
emacs-evil/evil@be97395e31 -> emacs-evil/evil@3e41a82333
emacsorphanage/god-mode@d7e9330950 -> emacsorphanage/god-mode@fac7d26ecd
gabesoft/evil-mc@246aecc174 -> gabesoft/evil-mc@63fd2fe0c2
magnars/multiple-cursors.el@8a60fc7ef0 -> magnars/multiple-cursors.el@aae47aebc0
2022-03-31 19:25:50 +02:00
Dominik Schrempf
b77699c38f
nit(org): lower case keywords in file templates
...
See https://list.orgmode.org/87tuuw3n15.fsf@nicolasgoaziou.fr/ .
2022-03-31 00:43:51 +02:00
Henrik Lissner
54d8c49d8b
refactor(file-templates): suppress in indirect buffers
...
Change how we detect and suppress file template expansion in org-capture
buffers (which are indirect clones). Since 99.99% of the time, an
indirect clone means we're doing something special in that buffer, it
seemed sensible to always suppress file templates in them. Hopefully
this will be more robust than the former advice.
2022-03-21 03:57:02 +01:00
Ian Kerins
893b4171b7
tweak(file-templates): remove default JSON template
...
As described at https://www.json.org/json-en.html , JSON has multiple
top-level forms (at least objects and arrays, and potentially all values
as well, depending on who you ask). Of these, I would not say array is a
good default. I frequently find myself deleting this default, generally
to use an object instead.
Because there is no consistent winner, and because the template is so
trivial, it seems best to simply delete it: the cost of the template not
matching the user's intent outweighs any benefit it stands to deliver
when it does match the user's intent.
2022-03-19 16:14:53 +01:00
Michael Chen
a505eae88f
fix(multiple-cursors): keybinds for {next,last}-cursor
2022-03-19 16:12:30 +01:00
Dan
42e5763782
fix(evil): respect users' evil-collection-key-blacklist
2022-02-23 17:49:53 +01:00
Layerex
169896e9ad
tweak(file-templates): update default solidity template
...
- Added SPDX-License-Identifier
- Renewed default version pragma
2022-02-23 17:47:14 +01:00
Henrik Lissner
6ab43ff252
tweak(file-templates): use NAME <EMAIL> for Author: line
...
Instead of the github URL. No guarantee the user is a github user.
2022-02-23 15:23:14 +01:00
Henrik Lissner
4b75100aea
fix(multiple-cursors): "No search pattern" error from evil-mc
...
Our hacks were too eagerly clearning evil-mc's state. These changes will
ensure that doesn't happen.
Perhaps its time I package this up into a PR upstream?
Fix : #6091
2022-02-10 21:07:20 +01:00
7ym0n.q6e
d833242de7
fix(evil): +evil/next-preproc-statement -> +evil/next-preproc-directive
...
+evil/next-preproc-statement does not exist.
Ref: 83387d89e9
2022-02-10 04:07:16 +01:00
Henrik Lissner
7246db457c
docs: replace doom-source with doom-repo links
...
I will later use "source" to refer to module sources, so better we avoid
the terminology for now.
2022-02-01 18:55:27 +01:00
Anh T Nguyen
97ac670881
docs(snippets): document how to write your own snippets
2022-01-30 02:42:13 +01:00
Henrik Lissner
1db8462d6b
bump: :editor evil
...
emacs-evil/evil-collection@0ce1ea96b4 -> emacs-evil/evil-collection@e69abfcb1c
emacs-evil/evil@a5fd96dadc -> emacs-evil/evil@be97395e31
wcsmith/evil-args@758ad5ae54 -> wcsmith/evil-args@2671071a4a
Fix : #6037
Ref: emacs-evil/evil#1573
Ref: emacs-evil/evil#1566
2022-01-27 18:49:21 +01:00
Henrik Lissner
09098bed48
fix(evil): activate evil-collection-mpc
...
Amend: 86034131c4
2022-01-27 03:49:53 +01:00
Henrik Lissner
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
Henrik Lissner
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
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
Henrik Lissner
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
Henrik Lissner
ae130607a6
bump: :editor snippets
...
hlissner/doom-snippets@3083b2342f -> doomemacs/snippets@3083b2342f
2022-01-03 16:51:51 +01:00
Henrik Lissner
fe3f8866d8
fix(evil): disable evil-collection-smerge-mode
...
evil-collection-smerge-mode is broken due to incorrect pathing upstream,
so evilified keybinds for smerge-mode will have to wait until it is
addressed there.
Amend: 8d6221bc1e
Amend: 7bbc3bc48e
2021-12-14 01:21:33 +01:00
Henrik Lissner
8d6221bc1e
fix(evil): evil-collection-smerge-mode
...
Amend: 7bbc3bc48e
2021-12-13 20:08:18 +01:00
Henrik Lissner
7bbc3bc48e
bump: :editor
...
abo-abo/lispy@e9731aa955 -> abo-abo/lispy@bf31576802
emacs-evil/evil-collection@652d74acfb -> emacs-evil/evil-collection@1b9d5c5d93
emacs-evil/evil@07aba40dd3 -> emacs-evil/evil@b00018bf55
emacsorphanage/god-mode@1d7d647bb5 -> emacsorphanage/god-mode@d7e9330950
hlissner/doom-snippets@5c0eb5bd70 -> hlissner/doom-snippets@3083b2342f
2021-12-13 19:30:42 +01:00
Quoc Huy Vu
0352ade454
fix(evil): correct typesetting quotations in latex
...
Use `evil-embrace` for typsetting quotations in latex instead of
`evil-surround`.
2021-11-30 14:05:57 +01:00
Quoc Huy Vu
c09777b36b
fix(evil): handle edge cases of embrace
...
If the surround key is `\(`, the text should be surrounded as
`\( text \)`. The same for `\[` and `\{`.
2021-11-25 01:45:09 +01:00
Henrik Lissner
88844e9cec
docs: simplify internal docs links
...
Fewer links means less confusion.
- Merge doom-issue and doom-commit links into doom-ref (for auto-linking
Issue/PR/commit references).
- Merge doom-module-source and doom-docs-source links into doom-source.
- Rename doom-report-issue to doom-report.
- Use '!' as the icon for module issues link.
- Remove doom-repo (replaced with "doom:*" in :lang org module).
- Add doomdir and emacsdir links to :lang org module.
2021-11-21 20:04:28 +01:00
Henrik Lissner
1decc38237
docs: fix module readme CREATED & SINCE attrs
...
Some were missing PR references, others had incorrect values for SINCE
and CREATED attributes. Also corrects the capitalization in some
SUBTITLEs.
2021-11-21 20:04:28 +01:00
Henrik Lissner
9ada400805
docs(:editor): update READMEs to new format
2021-11-21 20:04:28 +01:00
Henrik Lissner
0aad1399cc
refactor(file-templates): doom readme templates
...
Including readme template for categories.
2021-11-21 20:04:28 +01:00
Henrik Lissner
df62fcba26
docs: add category readmes
2021-11-21 20:04:28 +01:00
Henrik Lissner
5241555676
bump: :editor multiple-cursors
...
hlissner/evil-multiedit@15a47540db -> hlissner/evil-multiedit@23b53bc874
Fix : hlissner/evil-multiedit#44
Fix : hlissner/evil-multiedit#46
2021-11-21 17:51:24 +01:00
Henrik Lissner
407cf56a04
fix(multiple-cursors): references to removed keymaps
...
Fix : #5802
Ref: hlissner/evil-multiedit@36904ce86e
2021-11-21 03:46:45 +01:00
Henrik Lissner
8645634608
bump: :editor evil multiple-cursors
...
emacs-evil/evil-collection@63d84ff4bd -> emacs-evil/evil-collection@652d74acfb
emacs-evil/evil@17c635f6e1 -> emacs-evil/evil@07aba40dd3
hlissner/evil-multiedit@50179bfb26 -> hlissner/evil-multiedit@15a47540db
hlissner/evil-snipe@1a28d718c8 -> hlissner/evil-snipe@a79177df40
magnars/multiple-cursors.el@588daf8c52 -> magnars/multiple-cursors.el@8a60fc7ef0
- Fixes "void-variable: evil-digit-bound-motions" errors (#5700 )
- Adds evil-collection support for:
- Forge: emacs-evil/evil-collection@33461aa545
- Org: emacs-evil/evil-collection@9e47d61bdf
- Scheme: emacs-evil/evil-collection@838f609899
Fix : #5700
2021-11-18 18:56:16 +01:00
Henrik Lissner
a08ec4ab16
bump: :editor evil
...
emacs-evil/evil-collection@6709c1ec41 -> emacs-evil/evil-collection@63d84ff4bd
emacs-evil/evil@ebae35360c -> emacs-evil/evil@17c635f6e1
redguardtoo/evil-nerd-commenter@6bc41317ba -> redguardtoo/evil-nerd-commenter@63baf2d1c7
New version of evil was required by latest commit of
evil-multiedit (bumped in 363a031699
).
Ref: 363a031699
Fix : #5700
2021-10-28 19:57:33 +02:00
Henrik Lissner
363a031699
bump: :editor multiple-cursors
...
gabesoft/evil-mc@f04fb17f35 -> gabesoft/evil-mc@246aecc174
hlissner/evil-multiedit@9f271e0e60 -> hlissner/evil-multiedit@50179bfb26
magnars/multiple-cursors.el@616fbdd369 -> magnars/multiple-cursors.el@588daf8c52
evil-multiedit is no longer locked to victorhge/iedit@77eb0a1e2e ; its
incompatibilities were resolved upstream (see
hlissner/evil-multiedit#39 ).
Ref: hlissner/evil-multiedit#39
2021-10-28 14:32:27 +02:00
Björn Larsson
8101661763
docs(rotate-text): add README ( #5654 )
2021-10-18 01:43:37 +02:00
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