Commit graph

10 commits

Author SHA1 Message Date
Henrik Lissner
ad6a3d0f33
refactor: deprecate featurep! for modulep!
featurep! will be renamed modulep! in the future, so it's been
deprecated. They have identical interfaces, and can be replaced without
issue.

featurep! was never quite the right name for this macro. It implied that
it had some connection to featurep, which it doesn't (only that it was
similar in purpose; still, Doom modules are not features). To undo such
implications and be consistent with its namespace (and since we're
heading into a storm of breaking changes with the v3 release anyway),
now was the best opportunity to begin the transition.
2022-08-14 20:43:35 +02:00
Henrik Lissner
9d1df5f298
nit: minor refactors & comment/docstring revisions 2022-06-21 14:40:15 +02:00
Itai Y. Efrat
c9665f733b fix(vertico): update +vertico-workspace-buffer-state to new api
also adapt upstream improvements
2022-04-12 02:32:20 +02:00
Henrik Lissner
89deac190d
fix(vertico): signature for +vertico/switch-workspace-buffer
An unused argument I forgot to remove.

Amend: 81629dc2ad
2022-02-17 21:17:39 +01:00
Henrik Lissner
81629dc2ad
feat(vertico): switch to buffer's workspace
When selecting a buffer in another workspace with
+vertico/switch-workspace-buffer, that workspace will be switched to,
instead of opening the buffer in the current workspace.
2022-02-17 21:14:27 +01:00
Henrik Lissner
72c7d07fb4
fix(vertico): 9 workspace limit in switch-workspace-buffer
+vertico/switch-workspace-buffer was hardcoded to only list buffers from
the first 9 workspaces. This removes that limit.

Minor catch: workspaces beyond 9 will use lower case a-z as narrowing
keys, followed by upper case A-Z. There will not be any valid narrowing
keys beyond 61 workspaces -- but who in the world would have that many?
2022-02-17 21:14:24 +01:00
Itai Y. Efrat
34f76c8a75 fix(vertico): +vertico/switch-workspace-buffer
- fix a paren error in the function that caused the buffers to be sorted
  alphabetically and not by recency
- refactor the workspace buffer sources to use consult--buffer-query,
  that way we get niceties like the current buffer being last

Fix #5366
2021-09-23 14:55:58 +02:00
Henrik Lissner
a6b6b6197b fix(vertico): TAB bound to non-interactive function 2021-07-28 13:11:45 -04: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
Renamed from modules/completion/selectrum/autoload/workspaces.el (Browse further)