Commit graph

12362 commits

Author SHA1 Message Date
Tim Ruffing
dca4e4a8ed fix(popup): find internal major side windows
Fix: #5485
2024-01-24 12:16:58 -05:00
Tim Ruffing
1ee429406b fix(org): restart org-mode before indirect buffer
Fix: #5714
2024-01-24 12:11:48 -05:00
Vu Quoc Huy
19482ee582
feat(latex): allow fill-paragraph in description
Ref: #1849
2024-01-24 12:06:35 -05:00
Luigi Sartor Piucco
13794380dd
feat(corfu): impl smart confirm in minibuffer
An issue when using corfu in the minibuffer was the need for pressing
RET twice, since the first only inserts the completion. This commit
aliviates that by providing C-RET to ignore completion and conclude the
minibuffer immediatelly and S-RET to insert completion then conclude.
2024-01-24 13:16:16 -03:00
Luigi Sartor Piucco
382f52aff7
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.
2024-01-24 13:16:15 -03:00
Luigi Sartor Piucco
d198655bbc
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>
2024-01-24 13:16:15 -03:00
StrawberryTea
1a1f9dc7b4
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `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.
2024-01-24 13:16:15 -03:00
Luigi Sartor Piucco
777e906b67
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.
2024-01-24 13:16:15 -03:00
Luigi Sartor Piucco
2a37ab90a6
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;
2024-01-24 13:16:11 -03:00
07b6b399ce dev: merging latest changes from pr7002 2023-12-27 10:21:11 -05:00
Luigi Sartor Piucco
75eef5e9b6
feat(corfu): impl smart confirm in minibuffer
An issue when using corfu in the minibuffer was the need for pressing
RET twice, since the first only inserts the completion. This commit
aliviates that by providing C-RET to ignore completion and conclude the
minibuffer immediatelly and S-RET to insert completion then conclude.
2023-12-21 12:23:10 -03:00
Luigi Sartor Piucco
f5b3531f28
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-21 12:23:10 -03:00
Luigi Sartor Piucco
b245bb3492
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-21 12:23:10 -03:00
StrawberryTea
b6960fb9be
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `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-21 12:23:08 -03:00
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