Henrik Lissner
35f701a999
fix(default): search region literally in +default/search-buffer
2021-09-15 01:22:33 +02:00
Henrik Lissner
b0e084e416
merge: pull request #5353 from iyefrat/vertico-things
...
Improve `:completion vertico`
2021-09-15 01:00:04 +02:00
Henrik Lissner
0eb364d0e6
merge: pull request #5468 from tecosaur/develop
...
Improve `:email mu4e` (for Mu4e 1.6)
2021-09-15 00:59:33 +02:00
Henrik Lissner
7265fecd19
merge: pull request #5337 from iyefrat/haskell
...
Improve `:lang haskell`
2021-09-15 00:58:52 +02:00
Gerry Agbobada
4786e739af
feat(scheme): auto-add guix channels to load-path
...
Guix is detected with a simple `executable-find`, and this trick assumes
that guix is running on version 3 of Guile (which hopefully won't
change for a while)
2021-09-15 00:56:54 +02:00
Itai Y. Efrat
7d42c60f5a
refactor(haskell): move +lsp setup to config.el
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
11f7b9b41a
docs(haskell): improve doctor checks
...
Co-authored-by: Daanturo <daanturo@gmail.com>
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
d1555257a8
docs(haskell): rewrite readme
...
A lot of it was outdated, and now it conforms to the readme template.
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
a20cd88e8e
refactor!(haskell): remove dante support
...
BREAKING CHANGE: Now that haskell-language-server is mature there is
little reason not to pick it over dante.
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
6f2e05ea76
refactor!(haskell): remove ghcide support
...
BREAKING CHANGE: ghcide was archived a while back and now primarily
exists as a library used in the development of haskell-language-server.
It is not recommended for end-users, only for development. To this end I
think including it in the module is more misleading than helpful, and
the people that really want to use it can easily set it up themselves.
Ref: https://github.com/haskell/ghcide/pull/939
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
0888c024db
docs(vertico): fix added keybindings table
...
C-n and C-p aren't added by doom, so they shouldn't be listed there.
2021-09-15 01:42:19 +03:00
Itai Y. Efrat
a612220369
refactor!(vertico): evil minibuffer keybindings
...
BREAKING CHANGE: remove +vertico/(next|previous)-candidate-preview.
BREAKING CHANGE: Move vertico-(next|previous)-group to C-M-j/k now that
C-S-j/k now default back to scrolling up and down pages.
Update docs to reflect these changes.
2021-09-15 01:41:37 +03:00
Itai Y. Efrat
6022579231
refactor(vertico): +vertico-consult-fd-args
...
Initialize as nil with a defvar, and only change the value if the user
hasn't set it themselves.
2021-09-15 01:07:06 +03:00
Itai Y. Efrat
7762386e52
bump: :completion vertico
...
minad/consult@105a1ac501 -> minad/consult@a07ca38331
minad/marginalia@c6ca58bea8 -> minad/marginalia@cb1d3ba604
oantolin/embark@19145d5a33 -> oantolin/embark@3a90a3e3c6
oantolin/orderless@1a7011ac9c -> oantolin/orderless@62f71c34ba
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
d2d940fdf1
feat(lsp,vertico): add consult-eglot
...
- Load when :tools lsp +eglot and :completion vertico are on
- Bind consult-eglot-symbols to <leader> c j
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
3991d2ce77
docs(vertico): explain how shadow paths work
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9241a4d709
refactor(vertico): file completion backspace
...
Switch from the homemade +vertico/backward-updir to the upstream
vertico-directory-delete-char. The former has the nice feature of
traversing up abbreviated paths, but this comes at the cost of not being
able to fully erase the path (since the buck stops at /), and
unintentional directory moving in commands such as +vertico/find-file-in
which causes issues. Overall this minor convenience is not worth it, so
the vertico-directory-delete-char behaviour of just deleting up to the
previous / is preferred instead.
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
161d48c2a9
refactor(vertico): embark package actions map
...
- use new variable +vertico/embark-doom-package-map instead of
overriding embark-package-map
- define it with embark-define-keymap in order to inherit from the
default keymap
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9d44b3510a
fix(vertico): +vertico/jump-list requires consult
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
f536103af6
fix(vertico): package target finder
...
now returns nil instead of erroring out when it can't find a paren in
the buffer
Co-authored-by: Leo Okawa Ericson <git@relevant-information.com>
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
1f3ac1eb77
nit(vertico): fix whitespace
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
934ad07f23
feat(vertico): add magit-status embark action
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9e3a5df15d
fix(vertico): feature gate embark workspace action
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
c832eddc9d
docs(vertico): explain symbol class annotations
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
fc163b16c9
feat(vertico): use basic completion for remotes
...
Close : #5313
Co-authored-by: Stefan Lendl <ste.lendl@gmail.com>
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
2fdcefa831
feat(default): add +default/diagnostics
...
Unify flycheck-list-errors and flymake-show-diagnostics-buffer under
+default/diagnostics, and use consult-lsp-diagnostics if the lsp and
vertico modules are active.
2021-09-15 01:02:46 +03:00
TEC
083c81e44b
refactor(mu4e): use doom-call-process to check XDG
...
This is a bit safer than shell-command-to-string, and we also now check
that the command exited successfully, and fall back if not.
2021-09-15 02:43:40 +08:00
TEC
7ab825157f
feat(mu4e): make the unicode bullet customizable
...
By popular demand.
Close #5452 .
2021-09-15 02:43:40 +08:00
TEC
4fee7cf953
refactor(mu4e): extract part pickers duplication
...
Both the attachment and part selection functions generate string
representations of the parts. No need to do the same thing twice.
2021-09-15 02:43:40 +08:00
TEC
b489ae6452
feat(mu4e): show size in part/attachment picker
2021-09-15 02:43:40 +08:00
TEC
b05d8e8082
feat(mu4e): use file icons in part/attachment pick
...
Along with some other improvements and refactoring to the part picker
for a generally nicer experience, improved readability, and more
flexibility.
2021-09-15 02:43:40 +08:00
TEC
ea53ab9ef1
tweak(mu4e): end default attachment-dir with "/"
...
Having "/" at the end allows for a single backspace to remove the
directory, instead of just the last character - making it easier to
select a different location in a completing read.
2021-09-15 02:43:40 +08:00
TEC
6d1e86affc
tweak(mu4e): be consistent with mu4e naming style
2021-09-15 02:43:40 +08:00
TEC
c4aba242a3
feat(mu4e): improve part selection experience
...
It's not nice having to think of the index of the MIME part you want to
look at, it's much nicer to get a completing read with information about
those parts.
2021-09-15 02:43:40 +08:00
TEC
251705149b
feat(mu4e): reimplement attachment opening command
...
This can be done via 'a', but it's a nice convenience to have,
particularly as it filters out non-attachment MIME parts.
Closes #5027 .
2021-09-15 02:43:39 +08:00
TEC
47be8e292e
feat(mu4e): reintroduce A and p view keybindings
...
When viewing a message, in mu4e < 1.6 'A' gives actions that can be
performed on the attachments, and 'p' / 'P' save attachments. The
functions are removed in 1.6, and their nearest replacements are not
bound. I think it makes sense to actually bind them.
2021-09-15 02:43:39 +08:00
Itai Y. Efrat
a10ac0e609
feat(lsp,vertico): remap xref-find-apropos to...
...
...consult-lsp-symbols
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
3112b9a6d6
bump: consult-notmuch
...
https://codeberg.org/jao/consult-notmuch.git@67cf219fcce2 -> https://codeberg.org/jao/consult-notmuch.git@a5133b9e1f19
Needed for consult-notmuch to work with the new async consult api
Fix : #5369
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
2c431aae0e
fix(vertico): +vertico/find-file-in...
...
allow the creation of new files if the input doesn't match any existing
ones.
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
4b0b7f55c8
docs(vertico): document new consult grep behavior
...
- explain how consult translates regexp matches in the readme
- add doom doctor checks for pcre support
2021-09-14 20:44:54 +03:00
Itai Y. Efrat
0a69ca957a
refactor(vertico): rename which key indicator
...
rename +vertico/embark-which-key-indicator to
+vertico-embark-which-key-indicator, since it's not interactive
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c0fd2c37cd
feat(vertico): add char-fold style dispatcher
...
affixing with % uses char-fold-to-regexp on the input
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
26014435b2
feat(vertico): colorize vertico candidate on act
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c10d277713
refactor(vertico): all-the-icons-completion recipe
...
The package has been accepted to melpa
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
940f66fa89
bump: :completion vertico
...
iyefrat/all-the-icons-completion@d1d4b2f0df -> iyefrat/all-the-icons-completion@9650041854
minad/consult@69bbd213dc -> minad/consult@105a1ac501
minad/marginalia@1123544536 -> minad/marginalia@c6ca58bea8
minad/vertico@9de6709cdd -> minad/vertico@81a4b35f8d
oantolin/embark@1a7e6b5561 -> oantolin/embark@19145d5a33
oantolin/orderless@1e84120a28 -> oantolin/orderless@1a7011ac9c
- Adapt consult async commands to new consult-x-args format instead of
consult-x-command.
- Change regepx in +vertico-file-search to emacs instead of pcre,
because consult switched to using only emacs regexps
- Move to new embark-indicators variable, and replace
embark-mixed-indicator with +vertico/embark-which-key-indicator to be
compatible with future changes
- Adapt Doom's optional usage of fd to new consult command format
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c3fc7da5f1
docs(vertico): add more explanations to readme
...
- add explanation for consult async commands
- expand configuration section to use subheadings
- add section on overriding consult-customize settings
Close #5291
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
4613c74d8b
fix(vertico): prefix-help-command
...
- move the setq to the embark use-package where it belongs
- also set which-key-use-C-h-commands to nil, otherwise sometimes
which-key will override the prefix-help-command setting
2021-09-14 20:38:40 +03:00
Henrik Lissner
6b5c34a1db
fix(default): region handling in +default/search-buffer
...
+default/search-buffer now correctly uses the active selection when
invoking `consult-line` (on 'SPC s s' or 'SPC s b').
Close #5406
Co-authored-by: Sævar Berg <saevarb@users.noreply.github.com>
2021-09-14 19:33:26 +02:00
David Lukes
a03d30047c
tweak(org): map f to org-footnote-action
2021-09-14 19:25:57 +02:00
Alex Griffin
a5ce61aa55
fix(multiple-cursors): keybind conflict with embark
...
Fixes #5374 .
2021-09-14 19:06:04 +02:00