Commit graph

12148 commits

Author SHA1 Message Date
Luigi Sartor Piucco
01dbcdb221
feat(corfu): add snippets
Yasnippet is now properly integrated! A previosly-unset default has now
been given to `corfu-on-exact-match`. With snippets, it causes immediate
expansion upon single match by default, so we set it to nil and
recommend against changing it in the README.
2023-12-21 12:16:05 -03:00
Luigi Sartor Piucco
417c5ba204
module: add :completion corfu
This commit's primary goal is allowing use of
[minad/corfu](https://github.com/minad/corfu) as an alternative to
[company](https://github.com/company-mode/company-mode). It introduces a
module under :completion for this purpose, plus some conditionals on
other relevant modules to toggle functionality like lsp back-ends and
[minad/cape](https://github.com/minad/cape) capfs for certain modes.

Other optional or miscellaneous features include:

- Support for displaying the completion's documentation on a secondary
  popup;
- Support for terminal display if :os tty;
- Support for icons if +icons;
- Support for tab-and-go completion if +tng;
2023-12-21 12:16:04 -03:00
35e7bd2711 dev: merging latest changes from pr7002 2023-12-11 17:33:17 -05:00
Luigi Sartor Piucco
899cb2c549
fix(corfu): move binds to :config default
Bindings were moved to the `:config default` module and some keys were
adjusted to match Company/other modules. Small formatting issues and
some apparently inintended nestings were corrected as well.
2023-12-11 19:19:50 -03:00
Luigi Sartor Piucco
79e9fb3119
feat(corfu, vertico): use equal orderless config
This removes the old `&` separator for Vertico (does anyone use that
instead of just space?) in favor of escapable space and unifies
orderless config with Corfu. Also implements smart separator
insert/escape/reset on `C-SPC`

Co-authored-by: Liam Hupfer <liam@hpfr.net>
2023-12-11 19:19:50 -03:00
StrawberryTea
3cda41b639
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `cape-line`;
- `cape-dabbrev`;
- `cape-emoji`;
- `cape-dict`;
Fixed some CAPFs via cape:
- Make non-exclusive, purified and silent `pcomplete-completions-at-point`;
- Make non-exclusive and non-interruptable `lsp-completion-at-point`;
- Make non-exclusive `eglot-completion-at-point`;
- Make non-exclusive `comint-completion-at-point`;
Fix and improve keybindings:
- Smart `DEL`/`backspace` for `+tng`;
- Smart `RET`;
Add depth to CAPFs, allowing ordering to be adjustable.
Enable in minibuffer.
2023-12-11 19:19:48 -03:00
Luigi Sartor Piucco
5ac596ee69
feat(corfu): add snippets
Yasnippet is now properly integrated! A previosly-unset default has now
been given to `corfu-on-exact-match`. With snippets, it causes immediate
expansion upon single match by default, so we set it to nil and
recommend against changing it in the README.
2023-12-11 19:19:12 -03:00
Luigi Sartor Piucco
38051817cc
module: add :completion corfu
This commit's primary goal is allowing use of
[minad/corfu](https://github.com/minad/corfu) as an alternative to
[company](https://github.com/company-mode/company-mode). It introduces a
module under :completion for this purpose, plus some conditionals on
other relevant modules to toggle functionality like lsp back-ends and
[minad/cape](https://github.com/minad/cape) capfs for certain modes.

Other optional or miscellaneous features include:

- Support for displaying the completion's documentation on a secondary
  popup;
- Support for terminal display if :os tty;
- Support for icons if +icons;
- Support for tab-and-go completion if +tng;
2023-12-11 19:19:11 -03:00
ff96216cd7 dev: merging latest changes from pr7002 2023-12-10 19:26:11 -05:00
Luigi Sartor Piucco
36b95e658a
feat(corfu, vertico): use equal orderless config
This removes the old `&` separator for Vertico (does anyone use that
instead of just space?) in favor of escapable space and unifies
orderless config with Corfu. Also implements smart separator
insert/escape/reset on `C-SPC`

Co-authored-by: Liam Hupfer <liam@hpfr.net>
2023-12-10 15:29:58 -03:00
StrawberryTea
7739d3181a
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `cape-line`;
- `cape-dabbrev`;
- `cape-emoji`;
- `cape-dict`;
Fixed some CAPFs via cape:
- Make non-exclusive, purified and silent `pcomplete-completions-at-point`;
- Make non-exclusive and non-interruptable `lsp-completion-at-point`;
- Make non-exclusive `eglot-completion-at-point`;
- Make non-exclusive `comint-completion-at-point`;
Fix and improve keybindings:
- Smart `DEL`/`backspace` for `+tng`;
- Smart `RET`;
Add depth to CAPFs, allowing ordering to be adjustable.
Enable in minibuffer.
2023-12-10 15:29:58 -03:00
Luigi Sartor Piucco
c0acd40bb1
feat(corfu): add snippets
Yasnippet is now properly integrated! A previosly-unset default has now
been given to `corfu-on-exact-match`. With snippets, it causes immediate
expansion upon single match by default, so we set it to nil and
recommend against changing it in the README.
2023-12-10 15:29:58 -03:00
Luigi Sartor Piucco
631bf453cb
module: add :completion corfu
This commit's primary goal is allowing use of
[minad/corfu](https://github.com/minad/corfu) as an alternative to
[company](https://github.com/company-mode/company-mode). It introduces a
module under :completion for this purpose, plus some conditionals on
other relevant modules to toggle functionality like lsp back-ends and
[minad/cape](https://github.com/minad/cape) capfs for certain modes.

Other optional or miscellaneous features include:

- Support for displaying the completion's documentation on a secondary
  popup;
- Support for terminal display if :os tty;
- Support for icons if +icons;
- Support for tab-and-go completion if +tng;
2023-12-10 15:29:39 -03:00
beb37c7c16 dev: merging latest changes from pr7002 2023-12-10 10:17:09 -05:00
Luigi Sartor Piucco
7596fbd16f
feat(corfu, vertico): use equal orderless config
This removes the old `&` separator for Vertico (does anyone use that
instead of just space?) in favor of escapable space and unifies
orderless config with Corfu. Also implements smart separator
insert/escape/reset on `C-SPC`

Co-authored-by: Liam Hupfer <liam@hpfr.net>
2023-12-09 20:38:07 -03:00
StrawberryTea
b1d84814f7
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `cape-line`;
- `cape-dabbrev`;
- `cape-emoji`;
- `cape-dict`;
Fixed some CAPFs via cape:
- Make non-exclusive, purified and silent `pcomplete-completions-at-point`;
- Make non-exclusive and non-interruptable `lsp-completion-at-point`;
- Make non-exclusive `eglot-completion-at-point`;
- Make non-exclusive `comint-completion-at-point`;
Fix and improve keybindings:
- Smart `DEL`/`backspace` for `+tng`;
- Smart `RET`;
Add depth to CAPFs, allowing ordering to be adjustable.
Enable in minibuffer.
2023-12-09 20:12:39 -03:00
Luigi Sartor Piucco
74816a644e
feat(corfu): add snippets
Yasnippet is now properly integrated! A previosly-unset default has now
been given to `corfu-on-exact-match`. With snippets, it causes immediate
expansion upon single match by default, so we set it to nil and
recommend against changing it in the README.
2023-12-09 20:12:37 -03:00
a9010c708f dev: merge branch 'master' into emenel 2023-12-09 16:02:26 -05:00
Luigi Sartor Piucco
28e2aca722
module: add :completion corfu
This commit's primary goal is allowing use of
[minad/corfu](https://github.com/minad/corfu) as an alternative to
[company](https://github.com/company-mode/company-mode). It introduces a
module under :completion for this purpose, plus some conditionals on
other relevant modules to toggle functionality like lsp back-ends and
[minad/cape](https://github.com/minad/cape) capfs for certain modes.

Other optional or miscellaneous features include:

- Support for displaying the completion's documentation on a secondary
  popup;
- Support for terminal display if :os tty;
- Support for icons if +icons;
- Support for tab-and-go completion if +tng;
2023-12-09 14:27:29 -03:00
Kalle Lindqvist
03d692f129 fix(vertico): embark open in new workspace action 2023-12-08 15:11:45 -05:00
c4b347f963 dev: merge branch 'pr7002' into emenel 2023-12-08 08:59:41 -05:00
357be5efa7 dev: merge branch 'master' into pr7002 2023-12-08 08:58:57 -05:00
Ocean Shen
f6851d56ef fix(org): correct face for doom-user links
`org-link-set-parameters` accepts `:face` for a function returning a face
or a symbol naming a face. Use a lambda returning `org-priority` to
avoid it being called directly as a function.
2023-12-07 21:47:11 -05:00
9c903615cf dev: merging latest changes from pr7002 2023-12-07 18:32:26 -05:00
0073cf986c dev: merging latest changes to personal 2023-12-07 18:31:53 -05:00
Yuriy Glukhov
abd29569a6
bump: :lang nim
nim-lang/nim-mode@744e076f0b -> nim-lang/nim-mode@1338e5b0d5
2023-12-06 12:40:42 -05:00
9d9ee72137 dev: merging latest changes to pr7002 2023-12-06 09:06:12 -05:00
d7bafd2e01 dev: merging main to personal branch 2023-12-02 11:50:21 -05:00
Henrik Lissner
36d18d6da5
fix(cc): enable lsp in cuda-mode
Fix: #7576
2023-12-02 11:34:10 -05:00
Henrik Lissner
5b9da18bc1
fix(csharp): enable lsp in csharp-tree-sitter-mode
Fix: #7541
2023-12-02 11:34:10 -05:00
Henrik Lissner
b1d8d1cd9f
nit: reformatting, comment, and markup revision 2023-12-02 11:34:10 -05:00
Henrik Lissner
f8274f208c
bump: :lang org
aimebertrand/org-mac-link@3a30a937e1 -> aimebertrand/org-mac-link@e30171a6e9
alf/ob-restclient.el@ded3b7eb7b -> alf/ob-restclient.el@1a127eb016
awth13/org-appear@eb9f9db40a -> awth13/org-appear@81eba5d7a5
bastibe/org-journal@18df4d5ae5 -> bastibe/org-journal@a306f76ee2
emacs-jupyter/jupyter@1baabc8f2d -> emacs-jupyter/jupyter@0a92c0c978
emacs-straight/org-mode@e90a8a69a7 -> emacs-straight/org-mode@57b94f3447
emacsmirror/org-contrib@dc59cdd46b -> emacsmirror/org-contrib@79286861ae
hakimel/reveal.js@07a6cf1249 -> hakimel/reveal.js@d5896c968b
magit/orgit-forge@8ba92a54ae -> magit/orgit-forge@f595a30aa7
magit/orgit@4a58502987 -> magit/orgit@b60efabc4a
oer/org-re-reveal@93396b531b -> oer/org-re-reveal@e7895dae98
org-noter/org-noter@ab838691f0 -> org-noter/org-noter@a4296d8338

Ref: bastibe/org-journal#415
Close: #7506
Fix: #7545
Co-authored-by: SeanMaclochlainn <SeanMaclochlainn@users.noreply.github.com>
2023-12-02 11:34:10 -05:00
Henrik Lissner
c7ddbe049f
fix(swift): set-eglot-client!: extra argument
And move setter out of condition (it will no-op if :tools lsp +eglot
isn't enabled). Plus, it should be configured even when +lsp isn't
enabled for :lang swift.

Amend: #7567
Close: #7577
Co-authored-by: ncihnegn <ncihnegn@users.noreply.github.com>
2023-12-02 11:34:10 -05:00
Tim Ruffing
a89d4b7df5
tweak(default): add binding for undo-tree
This also makes the check for the presence of vundo consistent with the
rest of the file by using modulep! instead of fboundp.
2023-12-01 13:15:36 -05:00
a4321fea80 dev: adding pr7566 for openscad to personal branch 2023-12-01 10:35:35 -05:00
42cfbb974f dev: merging main into personal branch 2023-11-30 09:26:10 -05:00
Henrik Lissner
fde4289f5c
bump: :completion company helm ivy
Sodel-the-Vociferous/helm-company@6eb5c2d730 -> Sodel-the-Vociferous/helm-company@4622b82353
abo-abo/swiper@9d630d800e -> abo-abo/swiper@8c30f4cab5
bbatsov/helm-projectile@35a2111d00 -> bbatsov/helm-projectile@e2e38825c9
company-mode/company-mode@9b21604d19 -> company-mode/company-mode@ed46a616ab
emacs-helm/helm-org@d67186d3a6 -> emacs-helm/helm-org@c80e53315c
emacs-helm/helm@dfd6403947 -> emacs-helm/helm@96aad023cb
emacs-jp/helm-c-yasnippet@e214eec8b2 -> emacs-jp/helm-c-yasnippet@c5880e740d
radian-software/prescient.el@d7cc55dad4 -> radian-software/prescient.el@707c25c947
tumashu/helm-posframe@87461b52b6 -> tumashu/helm-posframe@0b6bb016f0
yyoncho/helm-icons@53349000b1 -> yyoncho/helm-icons@0d113719ee
2023-11-29 23:14:34 -05:00
Henrik Lissner
d55b078fa1
bump: :checkers
alexmurray/flycheck-posframe@8f60c9bf12 -> alexmurray/flycheck-posframe@19896b922c
bnbeckwith/writegood-mode@ed42d918d9 -> bnbeckwith/writegood-mode@d54eadeedb
d12frosted/flyspell-correct@7d7b6b0118 -> d12frosted/flyspell-correct@1e7a5a5636
flycheck/flycheck@784f184cdd -> flycheck/flycheck@e56e30d8c6
ideasman42/emacs-spell-fu@aed6e87aa3 -> ideasman42/emacs-spell-fu@e403193580
mhayashi1120/Emacs-langtool@8276eccc55 -> mhayashi1120/Emacs-langtool@d86101eafe
2023-11-29 23:14:10 -05:00
Henrik Lissner
6ca6bf0935
bump: :lang haskell
emacs-lsp/lsp-haskell@918ffa2516 -> emacs-lsp/lsp-haskell@89d1637043
haskell/haskell-mode@3e146c1a89 -> haskell/haskell-mode@79eaf444a7

- (#7569) Fixes flymake-proc load error.

Fix: #7569
Close: #7574
Co-authored-by: PatrickNorton <PatrickNorton@users.noreply.github.com>
2023-11-29 23:13:55 -05:00
Henrik Lissner
87f6f7ab91
bump: :lang scheme
emacs-geiser/chez@246ec4c8bc -> emacs-geiser/chez@605a81ff7b
emacs-geiser/geiser@e54d5e6dc6 -> emacs-geiser/geiser@49d12a1448
emacs-geiser/guile@24ce15de23 -> emacs-geiser/guile@ee33af6b4e
flatwhatson/flycheck-guile@e23a4d7813 -> flatwhatson/flycheck-guile@dd7bbdc48f
flatwhatson/scheme-mode@aaef1f88cc -> flatwhatson/scheme-mode@51e586e5f1

- Lazy autoloads hack for geiser is no longer needed (see
  47bb86d682)
- (#7472) Fixes geiser-activate-implementation errors from `doom doctor`

Fix: #7472
Ref: 47bb86d682
2023-11-29 13:41:23 -05:00
71ff315a06 dev: merging main into personal branch 2023-11-29 13:40:36 -05:00
Tim Ruffing
f4e02a2d39 fix(org): don't call org-reveal in dead buffer
This fixes a bug introduced in bb3431a (#7509). This shows up for
example in `org-capture`, which uses multiple org buffers and the
initial one (with name `*Capture*`) will be dead already by the time the
timer runs.

Amend: #7509
2023-11-29 11:30:20 -05:00
Colin Woodbury
e5cbe36fd7
bump: :tools tree-sitter
emacs-tree-sitter/tree-sitter-langs@3a3ad0527d -> emacs-tree-sitter/tree-sitter-langs@5eb24557f5

Fixes broken syntax highlighting in Clojure buffers.
2023-11-29 11:30:04 -05:00
Peter Hoeg
9a1022ef08
bump: :editor format
radian-software/apheleia@c222927f70 -> radian-software/apheleia@56651724ad

fbd00b6 changes aphelia-core to aphelia, but only in 1 out of 2 places
and this is not the correct name in the version pinned in doom.

Fix: #7568
Amend: fbd00b6a08
2023-11-29 11:27:06 -05:00
5a5e7690d9 dev: merging main into personal branch 2023-11-28 10:07:09 -05:00
Maoli
c2818bcfaa fix(latex): avoid stealing focus after compilation
Current LaTeX module uses `TeX-command-run-all` for compilation, which
by default opens the compiled document in a viewer. This behavior causes
a loss of focus from the Emacs window. We address this by adding a
custom compilation function.
2023-11-27 21:35:55 -05:00
Henrik Lissner
3cdf67ccce
merge: pull request #7549 from John-Goff/master 2023-11-27 21:09:49 -05:00
Patrick Norton
9c3d1951e3
fix(swift): don't load lsp-sourcekit with eglot
The `use-package!` declaration for lsp-sourcekit in `config.el` did not
match the `package!` declaration in `packages.el`: this resulted in
`lsp-sourcekit` being loaded but never installed. The removal of this
package also resulted in there no longer being a proper LSP client with
eglot--this has also been fixed.
2023-11-27 21:08:36 -05:00
16a7f92af1 dev: merging main into personal branch 2023-11-27 10:25:21 -05:00
John Goff
fbd00b6a08 fix(format): correct name of feature 2023-11-27 09:37:11 -05:00