Commit graph

11575 commits

Author SHA1 Message Date
passeride
78895d89ee
fix(csharp): csharp-tree-sitter-mode: void-function error in Emacs 29+
In Emacs 29.0.60, csharp-mode was absorbed into Emacs, and
csharp-tree-sitter-mode was replaced with built-in support for the new
treesit.el library.
2023-03-08 20:30:09 -05:00
David Adams
8be11ff48c fix(treemacs): ignore default popup rules
Fix: #7128
2023-03-08 20:24:44 -05:00
Jeetaditya Chatterjee
8f6b045dfd fix(lua): remove trailing ! in modulep! 2023-03-01 17:32:32 -05:00
Henrik Lissner
5c563d307b
fix(doom-dashboard): update evil-replace-state ref
The command was renamed evil-enter-replace-state, upstream.
2023-02-25 20:47:29 -05:00
Henrik Lissner
9d9b278914
feat(beancount): add {next,previous}-transaction commands 2023-02-25 20:47:29 -05:00
Henrik Lissner
6471690782
perf(org): disable auto-reformat/update for tables/cookies
These two can *significantly* slow down larger org buffers for evil
users, when switching modes (e.g. leaving insert/replace mode), so I am
removing these if/when I find a better alternative. Though, they can
still be done manually with `C-c C-c` (for cookies) and `TAB` in tables.
2023-02-25 20:47:28 -05:00
Henrik Lissner
c1c966c811
docs: assume ~/.config/emacs by default
From now on, our documentation will assume your Emacs config lives in
~/.config/emacs, by default, rather than ~/.emacs.d. Support for the
latter is not going away, it will simply be mentioned less in the
literature, as all supported versions of Emacs going forward (and future
versions of Doom) will support (and prefer) XDG conventions.

The user manual will be updated separately.

Close: #6965
Co-authored-by: gagbo <gagbo@users.noreply.github.com>
2023-02-25 20:47:28 -05:00
Henrik Lissner
fe2cb5e705
fix(evil): premature "too early" warnings
A warning gets logged if a lazily-loaded evil-collection package is
loaded too early at startup, but the goal posts were in the wrong place,
resulting in unavoidable warnings for packages that weren't actually
loaded too early.
2023-02-25 20:47:28 -05:00
Ellis Kenyo
99c6949e54 feat(clojure): add support for jet & neil 2023-02-24 02:55:16 -05:00
Ellis Kenyo
ca90c5e83c fix(clojure): improve how cljr is loaded 2023-02-24 02:55:16 -05:00
Ellis Kenyo
7a27409e30 docs(clojure): clean up README
Remove some outdated advice and update the README
2023-02-24 02:55:16 -05:00
Huynh Tan
fb2de71dce
docs(spell): mention possible mismatch in ispell-personal-dictionary
Ref: #6246
2023-02-23 23:15:15 -05:00
Colin Woodbury
e395ff0eb0 fix(fortran): account for the .F90 extension
In the Elder Days, it was common to give Fortran files the extensions of
`.FOR` or later `.F90`. The major modes for Fortran don't automatically
detect this conversion. The former was already accounted for in Doom's
module, but not the latter. This commit rectifies this.
2023-02-23 23:12:13 -05:00
Henrik Lissner
b4034a590b
docs(helm): revise and expand
- Added links to external documentation.
- Added commands for key bindings (especially useful for non-Evil users).
- Documented configuration for helm-mode and treemacs icons.

Close: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:02 -05:00
Henrik Lissner
4158e5124a
tweak(helm): helm-candidate-number-limit = 150
Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:02 -05:00
Henrik Lissner
86d0478acf
fix(helm): all-the-icons support
Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:02 -05:00
Henrik Lissner
1bfa90621b
tweak(helm): use emacs completion instead
This may fix +fuzzy, as well.

Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:01 -05:00
Henrik Lissner
8789e2e5c6
refactor(helm): reformat and revise comments
Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:01 -05:00
Henrik Lissner
928902213f
refactor(helm): use helm-posframe
The old, in-house implementation no longer works (and reportedly causes
crashes).

Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:01 -05:00
Henrik Lissner
fcf587fbe8
tweak(helm): show mode-line by default
Let's not hide the minibuffer. It may be detrimental in cases where
certain helm commands actually display helpful information there. And
rather than design edge cases for a package I don't dogfood, and push
minimalism onto helm users, I'll lean onto the defaults more instead.

Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:53:57 -05:00
Samoed
f20fe0274d feat(org): add hook for org-appear 2023-02-23 22:52:50 -05:00
GuangTao Zhang
778f849450
fix(chinese): update pyim-cregexp-build func
Pyim has replaced `pyim-cregexp-build-regexp-string` with `pyim-cregexp-build`.

Ref: tumashu/pyim#468
2023-02-23 22:51:28 -05:00
Henrik Lissner
4651df6530
nit(org): remove unused doom-source link type
A vestigial link type that snuck in during my tinkering, but was never
used, and has been replaced in some unpublished work.
2023-02-23 20:45:03 -05:00
Henrik Lissner
f348856cd3
docs(evil): add faq for kill-ring and clipboard sync
Describes how to disable synchronization between the kill-ring and
system clipboard.

Close: #6947
Co-authored-by: rittelle <rittelle@users.noreply.github.com>
2023-02-23 20:44:48 -05:00
Henrik Lissner
016d7b8fe3
fix(chinese): evil-pinyin: autoloads error
Some unknown difference between `loaddefs-generate` (Emacs 29+) and
`make-directory-autoloads` (<=28) causes evil-pinyin's autoloads file to
throw an error in 29+ when loaded, complaining about missing macros
defined by its dependencies (mainly `define-namespace` and
`evil-define-*`). Specifically, void-function errors.

Since the package is loaded almost immediately on startup, evil-pinyin's
autoloads file isn't needed in the first place, so by disabling it, the
error is resolved. This'll do until I can find a better solution or, at
least, the right party to report it to.

Ref: #6482
2023-02-23 18:41:58 -05:00
troy
b51f743e67 fix(vc): +vc--remote-homepage 2023-02-23 16:39:04 -05:00
Henrik Lissner
5d69d48943
feat(chinese): add +childframe for pyim candidates
Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:34:11 -05:00
Henrik Lissner
4594aaa7cd
fix(chinese): evil-escape interfering w/ input method
Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:33:37 -05:00
Henrik Lissner
8658145447
feat(chinese): add evil-pinyin
Ref: #6356
Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:33:32 -05:00
Henrik Lissner
051c31109f
feat(chinese): search anything with pinyin
- Advise orderless to use pyim-cregexp-build when using vertico
- Add it to ivy-re-builders-alist when using ivy

Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:28:38 -05:00
Henrik Lissner
b2cdacf457
feat(chinese): add +rime
Allows pyim users to select rime as a backend.

Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:25:01 -05:00
Henrik Lissner
7cc946a74b
docs(grammar): document nixpkgs.languagetool
Close: #6959
Co-authored-by: venikx <venikx@users.noreply.github.com>
2023-02-23 01:34:55 -05:00
Henrik Lissner
552278655e
fix(grammar): look for languagetool-commandline executable
nixpkgs.languagetool names its executable languagetool-commandline.

Ref: https://github.com/NixOS/nixpkgs/blob/nixos-22.11/pkgs/tools/text/languagetool/default.nix#L20
Close: #6959
Co-authored-by: venikx <venikx@users.noreply.github.com>
2023-02-23 01:34:55 -05:00
Henrik Lissner
89994b73a3
docs(go): keybinds and command docstrings
Close: #6972
2023-02-23 01:34:55 -05:00
Henrik Lissner
63daee4b94
fix(sh): docs lookup handler must be invoked twice
Invoking +lookup/documentation in shell-script-mode will yield an "X man
page formatted" in the minibuffer with no man page popup. It must be
invoked a second time to see it. This commit fixes that.
2023-02-23 01:34:55 -05:00
Yu-Fu Fu
bd0728e9b3
fix(window-select): unset winum-auto-setup-mode-line sooner
Its value is read when winum-mode is activated.
2023-02-23 01:09:32 -05:00
Dan
c8030df9ee
fix(python): repl: respect python-shell-dedicated 2023-02-23 00:34:37 -05:00
clatisus
103843a44d fix(lookup): require consult in +lookup/in-docsets 2023-02-22 21:14:57 -05:00
Henrik Lissner
802f015f26
fix(file-templates): org-capture errors on new files
If an org-capture template generates a new, blank file, Doom steps in to
insert a yasnippet file-template into the buffer.  If the file template
has text fields, it leaves the new buffer in an "editing snippets"
state (and insert mode) which causes errors downstream when org-capture
tries to modify the buffer.

The file-templates module employs some heuristics to prevent false
positives like these, but packages (and org-capture) can get around this
by simply generating and switching to the org buffer before modifying
it. This commit no-ops file-template expansion in any org-capture
session, which should resolve these issues.

Fix: #6160
Fix: #6741
2023-02-22 20:47:51 -05:00
Henrik Lissner
5018f938b1
bump: :tools magit
alphapapa/magit-todos@c5030cc27c -> alphapapa/magit-todos@c6f3fd03aa
magit/forge@ce212f8f95 -> magit/forge@ba35ffc9ba
magit/magit@30b0debaaa -> magit/magit@97a95f7007
wandersoncferreira/code-review@95b36ec8e7 -> wandersoncferreira/code-review@26f426e992

- (#6987, #7103) Fixes "wrong-type-argument sequencep #<subr
  code-review-section--magit-diff-insert-file-section>" error when
  starting code-review.

Fix: #6987
Close: #7103
Amend: 29c595ed1b
Co-authored-by: shroomist <shroomist@users.noreply.github.com>
2023-02-22 17:03:11 -05:00
Henrik Lissner
788e507d49
fix(java): errors in company-yasnippet snippet previews
Because company-yasnippet expands each snippet to produce a preview in a
temporary (and fundamental-mode) buffer, java-current-class and
java-current-package throws errors, so I've added a special case to
return a placeholder if expanded in a temporary buffer.
2023-02-22 00:46:47 -05:00
Jeetaditya Chatterjee
8b86ad3183 docs(tree-sitter): document flags 2023-02-21 20:51:33 -05:00
Jeetaditya Chatterjee
40905d2c5a feat(tree-sitter): add support for more langs
in this case clojure and fennel
2023-02-21 20:51:33 -05:00
Jeetaditya Chatterjee
63fac4fc6d bump: :tools tree-sitter
emacs-tree-sitter/elisp-tree-sitter@c3fe96a103 -> emacs-tree-sitter/elisp-tree-sitter@3cfab8a0e9
emacs-tree-sitter/tree-sitter-langs@deb2d8674b -> emacs-tree-sitter/tree-sitter-langs@d8f8ac4fae
meain/evil-textobj-tree-sitter@ef4e57f2a9 -> meain/evil-textobj-tree-sitter@02f8253034
2023-02-21 20:51:33 -05:00
Jeetaditya Chatterjee
0469cc4c48 docs(tree-sitter): document tree-sitter flags 2023-02-21 20:51:33 -05:00
Jeetaditya Chatterjee
fd7ac6710e feat(tree-sitter): add support for more languages
In this case
- lua
- erlang
- ess-r
- yaml
2023-02-21 20:51:33 -05:00
Jeetaditya Chatterjee
e578c0ecfc docs(haskell): mention tree sitter flag 2023-02-21 20:51:33 -05:00
Jeetaditya Chatterjee
074528a89a feat(haskell): add tree-sitter support 2023-02-21 20:51:33 -05:00
Jeetaditya Chatterjee
5f9d0b0f84 bump: :tools tree-sitter
emacs-tree-sitter/tree-sitter-langs@00738cb725 -> emacs-tree-sitter/tree-sitter-langs@bf125472c1
meain/evil-textobj-tree-sitter@087c3c3ce2 -> meain/evil-textobj-tree-sitter@ef4e57f2a9
2023-02-21 20:51:33 -05:00
Henrik Lissner
81aa98049d
bump: :config
abo-abo/avy@ba5f035be3 -> abo-abo/avy@955c8dedd6
jwiegley/use-package@e2d173b120 -> jwiegley/use-package@77945e002f
magnars/expand-region.el@7e5bbe2763 -> magnars/expand-region.el@b70feaa644
noctuid/link-hint.el@676dac6621 -> noctuid/link-hint.el@1f9bb60289
2023-02-21 19:34:59 -05:00