Commit Graph

11355 Commits

Author SHA1 Message Date
7c676c83bc tweak(vertico): use setq-default to set completion-in-region-function
Corfu makes completion-in-region-function a local variable in buffers
where it is enabled, so when this form is evaluated in one of those said
buffers (such as opening a file with Emacs before accessing the
minibuffer), completion-in-region-function will just be set locally
there.
2022-06-17 18:40:34 +02:00
41921f5f07 fix(window-select): allow Switch Window to work with >6 windows 2022-06-17 18:38:39 +02:00
3ea4952f3f fix(zig): use zig ast-check for flycheck checker 2022-06-17 18:37:53 +02:00
f0f414ac67 fix(eval): type error in +emacs-lisp-eval
When evaluating from a buffer not visiting any file, file-truename would
error out since the argument it was fed is nil.

Fix: #6181
Close: #6404
Ref: 7290f85cfd
Co-authored-by: Yoav Marco <ymarco@users.noreply.github.com>
2022-06-17 18:36:10 +02:00
31519d393a bump: :editor evil
emacs-evil/evil-collection@e557188692 -> emacs-evil/evil-collection@6cc02b238c
emacs-evil/evil@3e41a82333 -> emacs-evil/evil@157af04d2c
hlissner/evil-snipe@a79177df40 -> hlissner/evil-snipe@c07788c35c
redguardtoo/evil-nerd-commenter@42ba1a473b -> redguardtoo/evil-nerd-commenter@386cd758a4
2022-06-17 18:21:23 +02:00
77e9932966 bump: :core
Fuco1/smartparens@37f77bf2e2 -> Fuco1/smartparens@ec15aaa748
Wilfred/helpful@67cdd1030b -> Wilfred/helpful@209971ba9f
bbatsov/projectile@f3468e8d20 -> bbatsov/projectile@4d6da873ae
domtronn/all-the-icons.el@65c496d3d1 -> domtronn/all-the-icons.el@ca1ef30004
emacs-straight/project@4fe1eec803 -> emacs-straight/project@c52ec93689
jscheid/dtrt-indent@66fc30af02 -> jscheid/dtrt-indent@57f4072fa8
justbur/emacs-which-key@1217db8c63 -> justbur/emacs-which-key@1ab1d0cc88
raxod502/straight.el@e2de88ea0e -> radian-software/straight.el@0e204d418d

Includes a fix for #5207 (see radian-software/straight.el#955), which
occasionally caused arrayp errors when installing/upgrading packages.

Fix: #5207
Ref: radian-software/straight.el#955
2022-06-17 18:21:23 +02:00
26d47b5ebc feat(nav-flash): add consult support 2022-06-17 18:21:23 +02:00
59d3d8e8da tweak(org): remove redundant eldoc-mode activation 2022-06-17 18:21:23 +02:00
d67dcf1940 docs(emacs-lisp): insert :added: properties in demos
To help identify when they (and future functions/macros) were added.
2022-06-17 18:21:23 +02:00
cb03d3258d refactor!(lib): remove {doplist!,plist-delete!,doom-plist-delete}
BREAKING CHANGE: With 26.x support dropped, I've dropped:

- doom-plist-delete: use map-delete instead
- plist-delete!: use cl-callf + map-delete instead
- doplist: use (cl-loop for X on PLIST by #'cddr ...) instead

These were removed as part of an ongoing effort to eliminate
redundancies with built-in packages and reduce Doom's overall footprint.
2022-06-17 18:21:22 +02:00
fd12794930 refactor(lib): use cl-callf instead of plist-{put,delete}!
I rediscovered cl-callf and decided to cut down on redundancies.
2022-06-17 18:20:45 +02:00
d0cdf8f5c6 fix(evil): ]f/[f opening directories
They should traverse files, not directories.
2022-06-13 01:16:22 +02:00
1b8f46c7c5 bump: :tools debugger lsp
emacs-lsp/dap-mode@f918c0580b -> emacs-lsp/dap-mode@67fd9e5d4e
emacs-lsp/lsp-mode@1e7128c43f -> emacs-lsp/lsp-mode@9faa492692
emacs-lsp/lsp-ui@96b1ecbfbf -> emacs-lsp/lsp-ui@370022b678
gagbo/consult-lsp@a8eb3a062f -> gagbo/consult-lsp@19606a03cf
joaotavora/eglot@fd9a5646d1 -> joaotavora/eglot@2b87b06d9e
mohkale/consult-eglot@f93c571dc3 -> mohkale/consult-eglot@0da8801dd8

- Debuggers (see #6381):
  - Add support for new cpptools (upgraded from 0.29.0 to 1.9.8).
  - Add support for new codelldb (from 1.6.0 to 1.7.0).
  - Fix download issue of gdb-lldb (aka webfreak.debug).
- LSP support:
  - Fix inlay hints for rust-analyzer (see emacs-lsp/lsp-mode#3467)

Close: #6395
Close: #6381
Fix: #6394
Fix: #6403
Ref: emacs-lsp/lsp-mode#3467
2022-05-27 03:13:00 +02:00
TEC
9e0c188b5c tweak(spell): ignore org-inline-src-block
Also fix the alphabetic sorting of org-cite while I'm at it.
2022-05-27 03:00:45 +02:00
1dfdfd53c6 feat(fortran): name executable after the file name
Previously the output was always the default `a.out`. Note that this is
only for the single-file non-fpm case, where the user just wants to
compile and run a one-off Fortran program.
2022-05-27 02:59:55 +02:00
e4184c6bc3 bump: :tools magit
magit/forge@eed613db88 -> magit/forge@66b3993c98
magit/magit@b4be194de1 -> magit/magit@a4a78d341a
wandersoncferreira/code-review@85ab2080e4 -> wandersoncferreira/code-review@d38fbe5930
2022-05-27 02:57:59 +02:00
349247fb3e docs(tree-sitter): update goto bind table 2022-05-27 00:05:19 +01:00
e1056f0053 tweak(tree-sitter): rebind conditional nav key
Move the conditional bindings from `i` to `v` this is
to reflect the text object, the thinking being if users have to learn
one anti mnemonic then it should reflect all cases to make it easier to
swallow.
2022-05-27 00:04:56 +01:00
61a7c54165 bump: :email
https://codeberg.org/jao/consult-notmuch.git@a5133b9e1f19 -> https://codeberg.org/jao/consult-notmuch.git@4138855cddee
https://git.notmuchmail.org/git/notmuch@63413a556345 -> https://git.notmuchmail.org/git/notmuch@bd243b65a970
https://git.sr.ht/~tarsius/ol-notmuch@126fb446d8fa -> https://git.sr.ht/~tarsius/ol-notmuch@1a53d6c70751
jeremy-compostella/org-msg@599e8b056c -> jeremy-compostella/org-msg@60e22e4463
org-mime/org-mime@eb21c02ba8 -> org-mime/org-mime@cf96f585c6
wanderlust/apel@4e3269b6e7 -> wanderlust/apel@6947dc4605
wanderlust/wanderlust@6e189fc944 -> wanderlust/wanderlust@e3cd5e3945
xzz53/mu4e-alert@91f0657c5b -> xzz53/mu4e-alert@b34d0ea7b7

Fix: #6360
Close: #6377
2022-05-27 00:35:38 +02:00
398b91b623 nit(hl-todo): revise keyword summaries in comments 2022-05-27 00:35:37 +02:00
e2e33b1b49 tweak(scheme): move repl history file to cache dir 2022-05-27 00:35:37 +02:00
866e1b32bf bump: :tools pdf
vedang/pdf-tools@326552eef7 -> vedang/pdf-tools@f9ccdf99e5

This bump also removes C++ entirely from pdf-tools, as it is not needed anymore for
correct compilation of `epdfinfo`. The following changes are made:

- Remove private headers from all the server code. This involves:
  - Replace private header functionality with the correct public
    functions provided by poppler.
  - Remove unneeded headers around date checks
  - Delete dead-code (headers, m4 macros)
- Remove C++, g++ and similar aliases from all the code. Also:
  - Remove related information from the README
  - Remove related information from CI and Dockerfiles

Ref: vedang/pdf-tools#96
Ref: vedang/pdf-tools@4460a4fd31
Fix: vedang/pdf-tools#102
Fix: politza/pdf-tools#706
Fix: vedang/pdf-tools#90
Fix: vedang/pdf-tools#86
2022-05-26 23:47:00 +02:00
ec6bd0df0f merge: pull request #6379 from iyefrat/bump-vertico 2022-05-26 23:43:37 +02:00
7b66fbbed7 docs(lsp): add warning for missing npm 2022-05-26 23:38:50 +02:00
68191e7419 fix(lookup): check ivy|helm-mode before using their backends 2022-05-26 23:37:44 +02:00
ebbebc53a6 tweak(vertico): add basic completion style fallback
This is now the recommended configuration, see the referenced issue.

Ref: oantolin/orderless#111
2022-05-26 23:55:01 +03:00
7ed1f96b0b feat(vertico): add crm indicator 2022-05-26 23:55:01 +03:00
a8433e0581 bump: :completion vertico
minad/consult@822928a860 -> minad/consult@b15c81f776
minad/vertico@cc5f5421c6 -> minad/vertico@e5935b5bbf
oantolin/embark@d88478b45f -> oantolin/embark@97270d7257
2022-05-26 23:55:01 +03:00
4cecc654b9 fix(vertico): consult tofu regex range 2022-05-26 23:55:01 +03:00
1f25c3510f feat(vertico): add workarounds for problematic commands 2022-05-26 23:55:01 +03:00
08f32e6d0f tweak(vertico): improve org consult source
- only add if :lang org is on
- have a version that works before org is loaded
2022-05-26 01:18:02 +03:00
c13b59395c bump: :completion vertico
minad/consult@d30213aa20 -> minad/consult@822928a860
minad/marginalia@dbc37b373e -> minad/marginalia@26f2bd9ee7
minad/vertico@46e8e05650 -> minad/vertico@cc5f5421c6
oantolin/embark@2890e535f5 -> oantolin/embark@d88478b45f
oantolin/orderless@8f64537f55 -> oantolin/orderless@75eeae2197

- Remove everything related to `consult-completing-read-multiple` since
the function has been deprecated upstream due to implementation issues

Ref: minad/consult#567
Close: #6352
2022-05-26 01:18:02 +03:00
de052a7a92 docs(tree-sitter): add goto binding table 2022-05-24 15:38:31 +01:00
6d10e205dd feat(tree-sitter): add support to zig and nix 2022-05-23 20:02:22 +01:00
33de147b8f bump: :tools tree-sitter
emacs-tree-sitter/tree-sitter-langs@0dd5e56e2f -> emacs-tree-sitter/tree-sitter-langs@deb2d8674b
meain/evil-textobj-tree-sitter@bfdef5a292 -> meain/evil-textobj-tree-sitter@0bf5bbbfec
2022-05-23 20:01:59 +01:00
84d47016d0 fix(tree-sitter): no longer eager load tree sitter 2022-05-22 21:26:10 +01:00
984564ea6c bump: :tools tree-sitter
emacs-tree-sitter/elisp-tree-sitter@5e1091658d -> emacs-tree-sitter/elisp-tree-sitter@3cfab8a0e9
meain/evil-textobj-tree-sitter@e5fda8eca9 -> meain/evil-textobj-tree-sitter@bfdef5a292
2022-05-22 21:26:09 +01:00
152f0e0f91 feat(elixir): add tree-sitter support 2022-05-22 21:26:09 +01:00
65207ab3dc docs(tree-sitter): add rebinding keys section 2022-05-22 21:26:09 +01:00
def8c05371 bump: :tools tree-sitter
emacs-tree-sitter/tree-sitter-langs@f4effc81fc -> emacs-tree-sitter/tree-sitter-langs@0dd5e56e2f
meain/evil-textobj-tree-sitter@f3b3e9554e -> meain/evil-textobj-tree-sitter@e5fda8eca9
2022-05-22 21:26:09 +01:00
0074dc415b nit(javascript): use issue shorthand 2022-05-22 21:26:09 +01:00
45ed981b41 refactor(tree-sitter): put keys on ts-mode-map
- move map definition and binding into
  evil-textobj-tree-sitter :config body

- replace +tree-sitter-keys-mode  with
  tree-sitter-mode as bind site

- remove +tree-sitter-keys-mode from tree-sitter! autodef
2022-05-22 21:26:09 +01:00
7f814e5d99 refactor(:lang): redo tree-sitter hooks
- bind to major-mode-local-vars-hook instead of major mode hook
- bind the autodef tree-sitter! instead of the functions.
2022-05-22 21:26:08 +01:00
7a7565cedf nit(sh): revert formatting
snuck in when running the formatter
2022-05-22 21:26:08 +01:00
4334eb285f nit(fold): fix non idiomatic code
- remove final t in cond
- replace cond with if
- replace seq-filter with cl-remove-if-not
2022-05-22 21:26:08 +01:00
cd6cb8c499 fix(tree-sitter): check tree-sitter-mode is bound
and-true-p
2022-05-22 21:26:08 +01:00
74fc2a87c9 tweak(tree-sitter): gate textobj maps 2022-05-22 21:26:08 +01:00
561eb533a8 nit(tree-sitter): remove defer, its redundant 2022-05-22 21:26:08 +01:00
56d0f02f31 feat(tree-sitter): add tree-sitter! autodef 2022-05-22 21:26:07 +01:00
c6a006dd68 docs(tree-sitter): replace {add,remove}-hook!
these are redundant in these contexts
2022-05-22 21:26:07 +01:00