Commit graph

12148 commits

Author SHA1 Message Date
John Goff
c076b1237f docs(format): reasoning for using +format/buffer 2023-11-27 09:37:11 -05:00
John Goff
9da33cf9e7 docs(format): describe interaction between +onsave and LSP 2023-11-27 09:37:11 -05:00
John Goff
9d8f657b37 refactor(format): describe what hook does 2023-11-27 09:36:58 -05:00
John Goff
85d20f71ca docs(format): fix name of doom-package 2023-11-27 09:36:58 -05:00
John Goff
9b718f8a5a docs(format): document +format-on-save-disabled-modes in README 2023-11-27 09:36:58 -05:00
John Goff
cdbf97b4e9 fix(format): align behaviour and documentation
`+format-on-save-disabled-modes` documentation was referencing behaviour
that no longer exists, as well as documenting behaviour that was not
implemented.
2023-11-27 09:36:58 -05:00
Kiran Shila
b84def030c
module: add :lang scad 2023-11-26 17:06:06 -08:00
Maoli
95e3491c3b bump: :completion company
sebastiencs/company-box@766546b266 -> sebastiencs/company-box@b6f53e26ad
company-mode/company-mode@2ca3e29abf -> company-mode/company-mode@9b21604d19

Fix: doomemacs/doomemacs#6710
2023-11-26 13:57:36 -05:00
f36b567267 dev: merging updates to pr7002 into personal branch 2023-11-26 10:15:59 -05:00
Luigi Sartor Piucco
4196f2bc98
Merge branch 'master' into fix-some-bugs 2023-11-26 12:06:02 -03:00
Luigi Sartor Piucco
232c25589f
bump: :completion corfu 2023-11-26 11:59:37 -03:00
Luigi Sartor Piucco
aff7254ad5
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`
2023-11-26 11:59:37 -03:00
Luigi Sartor Piucco
369bf397d7
tweak(corfu): expand autoload command triggers 2023-11-26 11:59:37 -03:00
Luigi Sartor Piucco
14ea4b0b89
tweak(corfu): place extra CAPFs behind flags 2023-11-26 11:59:37 -03:00
Luigi Sartor Piucco
747ecebd24
fix(corfu): improve keybinding config 2023-11-26 11:59:37 -03:00
StrawberryTea
d526780aef
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 `backspace` for `+tng`;
- Smart `DEL` for `+tng`;
- Smart `SPC` which quits if after separator;
- Smart `RET`;
Add depth to CAPFs, allowing ordering to be adjustable.
Remove the `+corfu-completion-styles` mechanism.
Add `,` as additional separator.
Enable in minibuffer.
Bump `cape`.
2023-11-26 11:59:37 -03:00
Luigi Sartor Piucco
a5eb58fcf3
feat(corfu): switch to nerd-icons-corfu
This removes the need to vendor the icon code.
2023-11-26 11:59:37 -03:00
Luigi Sartor Piucco
a47da9af71
tweak(corfu): quit corfu on evil quit 2023-11-26 11:59:37 -03:00
Luigi Sartor Piucco
e52b613a69
tweak(corfu): use better binding instead of S- 2023-11-26 11:59:37 -03:00
Liam Hupfer
2ede71b2ae
tweak(corfu): allow corfu-history without savehist
savehist is for persisting history across sessions, but users who
disable savehist can still benefit from session-length Corfu history.
2023-11-26 11:59:36 -03:00
Liam Hupfer
8337dd19a6
perf(corfu): improve lazy loading
`:after y` eagerly loads package x after y loads. Cape and
`yasnippet-capf` define autoloads, so we can defer them until a capf is
actually called.
2023-11-26 11:59:36 -03:00
Luigi Sartor Piucco
720e22a252
docs(corfu): simplify and show how to add capfs 2023-11-26 11:59:36 -03:00
Luigi Sartor Piucco
a794f36e7c
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-11-26 11:59:36 -03:00
Luigi Sartor Piucco
8748084adf
fix(corfu): pin packages 2023-11-26 11:59:36 -03:00
Luigi Sartor Piucco
dd856e4523
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-11-26 11:59:31 -03:00
Ellis Kenyo
fbf7e86b8e docs(clojure): clarify optional deps & add enrich-classpath note 2023-11-25 23:04:53 -05:00
Ellis Kenyo
45f86d9459 bump: :lang clojure
babashka/neil@1dbac785ce -> babashka/neil@40993873bb
clojure-emacs/cider@1ed5163433 -> clojure-emacs/cider@120fd885d3
clojure-emacs/clj-refactor.el@b5abe655e5 -> clojure-emacs/clj-refactor.el@0a2a6cbc2e
clojure-emacs/clojure-mode@3453cd229b -> clojure-emacs/clojure-mode@25d713a67d
clojure-emacs/parseclj@4d0e780e00 -> clojure-emacs/parseclj@74ff7d63fe
clojure-emacs/parseedn@a09686fbb9 -> clojure-emacs/parseedn@c8f07926a6
ericdallo/jet.el@f007660c56 -> ericdallo/jet.el@7d5157aac6

Closes #7515
2023-11-25 23:04:53 -05:00
a94da3866f dev: adding chezmoi module from pr6633 2023-11-25 09:58:05 -05:00
Alfonso Fernando Álvarez
6a12331f87 docs(terraform): mention +lsp flag 2023-11-24 18:39:01 -05:00
44f7fbfdbf dev: merging corfu pr into local working branch 2023-11-24 15:06:04 -05:00
Nikita Bloshchanevich
7d5ceff5ec fix(plantuml): flycheck: executable support
The flycheck-plantuml is by default configured to always run plantuml
via "java". This only works with a downloaded plantuml. However, I would
prefer to have plantuml installed via my package manager (fedora/dnf).

A locally installed PlantUML executable is already detected by default
for normal use (export/preview), we can also use it for flycheck.

If plantuml is downloaded using plantuml-download-jar, this jar is still
used by default (see setq plantuml-exec-mode), so this should not affect
previous setups.
2023-11-24 11:06:34 -05:00
Jonas Jelten
7fb69fac64
bump: :lang markdown
jrblevin/markdown-mode@c765b73b37 -> jrblevin/markdown-mode@b1a862f016

- The workaround introduced aad7bc521f addressed an issue that was
  fixed upstream (jrblevin/markdown-mode@44f0e89534).

Ref: jrblevin/markdown-mode#578
Revert: aad7bc521f
2023-11-24 11:05:30 -05:00
Eric Lim
52be142e5c docs(rss): add a missing double quote in README 2023-11-24 11:02:28 -05:00
StrawberryTea
2a875d9727
refactor(evil): remove lisp prefix-function embrace pair
A more generalized lisp prefix function was added upstream, so ours is
no longer needed.

Ref: cute-jumper/embrace.el#26
2023-11-24 11:00:52 -05:00
Henrik Lissner
e133da7435
docs(upload): append slash to ssh-deploy-root-local
Suffix ssh-deploy-root-local's path with a trailing slash (to be
consistent with upstream documentation and the example value for
ssh-deploy-root-remote right below it).

Co-authored-by: visika <visika@users.noreply.github.com>
Ref: #7513
2023-11-24 10:54:36 -05:00
Henrik Lissner
5100ab121d
fix(upload): ssh-deploy-on-explicit-save: incorrect type
According to upstream package emacs-ssh-deploy, the value 0 should
disable the auto-save behavior. As the ssh-deploy-on-explicit-save is
considered true if its value is 0, it triggers the after-save-hook
anyway. This commit fixes the hook so it conforms to upstream
definition:

  ssh-deploy-on-explicit-save Enabled automatic uploads on save (integer)

Co-authored-by: visika <visika@users.noreply.github.com>
Close: #7513
Fix: #7512
2023-11-24 10:51:19 -05:00
Zdeněk 'Vlk' Mžourek
6bea1f6a35 perf(lsp): turn off eglot events buffer
The `eglot-events-buffer-size` setting disables the `eglot-events-buffer`
when 0, enabling more consistent performance on long running emacs
instance.
Default is 2000000 lines. After each new event the events buffer
is pretty printed as a whole, which causes steady performance decrease
over time.
Quite a bit of CPU is spent on pretty priting and Emacs GC is put under
high pressure.
2023-11-24 10:42:42 -05:00
StrawberryTea
dc16fe10e3 feat(eshell): add imenu support 2023-11-24 10:31:35 -05:00
Henrik Lissner
e4b1ed5a6a
refactor(eshell): eshell-prompt-regexp
This new default makes eshell-prompt-regexp's consumers a little less
susceptible to false positives in garbage/process output and a little
more resistant to user changes to eshell-prompt-function. It's also
closer to its default value (KISS).
2023-11-24 10:29:29 -05:00
Henrik Lissner
fba1d4005e
bump: :tools tree-sitter
emacs-tree-sitter/tree-sitter-langs@2f0f97abbd -> emacs-tree-sitter/tree-sitter-langs@3a3ad0527d
meain/evil-textobj-tree-sitter@19979843f5 -> meain/evil-textobj-tree-sitter@9a9edd42a2

Close: #7560
Co-authored-by: l2dy <l2dy@users.noreply.github.com>
2023-11-24 10:01:45 -05:00
Henrik Lissner
cb3d01920c
bump: :tools debugger lsp
emacs-lsp/dap-mode@096070aacf -> emacs-lsp/dap-mode@755845ae05
emacs-lsp/lsp-mode@266945b3e4 -> emacs-lsp/lsp-mode@d441f3d268
emacs-straight/eglot@8ccec6532e -> emacs-straight/eglot@2b145778ba
realgud/realgud@220ce2c348 -> realgud/realgud@365063ea8c

Fix: #7540
2023-11-23 22:05:33 -05:00
Leo Okawa Ericson
31b2ad22fb
fix(org): call org-reveal in correct buffer
Sometimes, `org-reveal` is called in the wrong buffer which throws an
error.  For example, `org-link-open-from-string` creates an temporary
org-mode buffer that gets killed very quickly which means that
`org-reveal` gets called in a different buffer.  I have also had issues
with org-reveal getting called in the org-roam buffer, which is why this
commit also saves the buffer it was called in.

Co-authored-by: Leo Okawa Ericson <git@relevant-information.com>
2023-11-23 21:21:08 -05:00
Kiana Sheibani
c3b228fedd fix(treemacs): do not overwrite git mode when treemacs-python-executable is set 2023-11-23 21:19:26 -05:00
Henrik Lissner
13fa55da82
bump: :lang java
Groovy-Emacs-Modes/groovy-emacs-modes@c612ac1e9f -> Groovy-Emacs-Modes/groovy-emacs-modes@7b8520b2e2
emacs-lsp/lsp-java@dbe448a886 -> emacs-lsp/lsp-java@449673da72
mopemope/meghanada-emacs@59c46cabb7 -> mopemope/meghanada-emacs@fb29746e44

Co-authored-by: aveseli <aveseli@users.noreply.github.com>
Close: #7554
2023-11-23 18:32:35 -05:00
Henrik Lissner
9be60fba43
bump: :lang scala
emacs-lsp/lsp-metals@a2df7263ec -> emacs-lsp/lsp-metals@da7e54ed65

- (#7475) lsp-metals moved on from treemacs-extensions (obsolete) to
  treemacs-treelib.

Co-authored-by: prashantvithani <prashantvithani@users.noreply.github.com>
Close: #7475
2023-11-23 18:32:35 -05:00
Henrik Lissner
80f8b6b680
bump: :editor fold
emacs-tree-sitter/ts-fold@9d9e0c5cf7 -> emacs-tree-sitter/ts-fold@75e72c658a

- (#7480) Adds/enhances support for new languages.

Co-authored-by: jperras <jperras@users.noreply.github.com>
Close: #7480
Ref: https://github.com/emacs-tree-sitter/ts-fold/releases/tag/0.2.0
2023-11-23 18:32:35 -05:00
Chromium
a00f03079a
bump: :app rss
remyhonig/elfeed-org@7f3ad868f2 -> remyhonig/elfeed-org@fe59a96969 

- fix elfeed-org-export-opml error
- perf: use temporary buffers instead of find-file
- replace outline-on-heading-p with org-at-heading-p
- fix typo in last changes

Ref: remyhonig/elfeed-org#88
2023-11-23 18:32:04 -05:00
Zardoz
574cd32147
tweak(doom-quit): make quit message OS-sensitive 2023-11-23 17:55:13 -05:00
LemonBreezes
a180579d6f
bump: :term eshell
Ambrevar/emacs-fish-completion@1038488181 -> Ambrevar/emacs-fish-completion@df42e15308
akreisher/eshell-syntax-highlighting@8bf0494ca7 -> akreisher/eshell-syntax-highlighting@4ac27eec6595# Please enter the commit message for your changes. Lines starting

- (#7529) Fix elisp code-completion in Eshell.

Close: #7529
2023-11-23 17:29:37 -05:00
StrawberryTea
f2562bbb4a feat(corfu): always configure dabbrev & line 2023-11-06 14:50:07 -06:00