Commit graph

4712 commits

Author SHA1 Message Date
Henrik Lissner
762f47805a
docs(python): how to change LSP server priority 2025-12-18 17:39:37 -05:00
Henrik Lissner
739c22d566
docs(python): mention better tree-sitter support on 30+
Some newer python features (like except*) aren't supported in older
versions of the Python grammar, which you're stuck with on 29 or older.
2025-12-18 17:38:09 -05:00
Henrik Lissner
a59d2537ff
fix(markdown): pre-31 tree-sitter support
Fix tree-sitter support for users on Emacs 30 or older and for ABI==14.
2025-12-17 02:17:33 -05:00
Henrik Lissner
1d51b7a1a0
docs(python): update and mention ty
- Remove mention of obsolete LSP servers.
- Recommend astral-sh/ty over others.
- Remove defunct anaconda keybinds.
2025-12-17 02:17:33 -05:00
Henrik Lissner
0181ba2513
docs(markdown): tree-sitter support in 31+
A superior markdown-ts-mode was introduced in Emacs 31. Pre-31 users get
LionyxML/markdown-ts-mode.
2025-12-17 02:17:32 -05:00
Ajai Khatri Nelson
59956c3aab fix(cc): typo in +cc-lineup-arglist-close
Fix: #7165
2025-12-14 15:05:20 -05:00
Henrik Lissner
59e5253dbc
fix(elixir): elixir-ls integration
Fix: #8584
Amend: 22f86d25e9
2025-12-13 16:58:51 -05:00
Henrik Lissner
8069d23628
fix(nix): nixos-options dependency w/o company or helm
Fix: #8585
2025-12-13 16:51:13 -05:00
Henrik Lissner
1847ed97d6
bump: :lang ada cc common-lisp ess javascript ocaml scheme
OCamlPro/ocp-indent@1213857683 -> OCamlPro/ocp-indent@e2ac9daae2
atomontage/xterm-color@2ad407c651 -> atomontage/xterm-color@ce82e87ea3
brownts/ada-ts-mode@d0c1c124b2 -> brownts/ada-ts-mode@52e0fd1160
emacs-ess/ESS@8369d574f1 -> emacs-ess/ESS@7b9123669c
emacs-geiser/geiser@c8b862f00e -> emacs-geiser/geiser@43b9a034aa
emacs-lsp/emacs-ccls@34251b799e -> emacs-lsp/emacs-ccls@12b43b357e
emacs-typescript/typescript.el@481df3ad2c -> emacs-typescript/typescript.el@2535780bdb
joaotavora/sly@63131ef965 -> joaotavora/sly@6a303bae74
ocaml/dune@28b7e8f3b2 -> ocaml/dune@a40c461736
ocaml/merlin@8b88b89ee7 -> ocaml/merlin@ecfbed3976
ocaml/tuareg@1600fdad28 -> ocaml/tuareg@f0cb55f217
2025-12-08 17:17:14 -05:00
Henrik Lissner
3ad2d9cdbb
bump: :lang agda coq elixir erlang
ProofGeneral/PG@fbb2878e49 -> ProofGeneral/PG@d60382db08
agda/agda@5e31b2534d -> agda/agda@0d52fa2217
erlang/emacs-erlang-ts@eb579dd55f -> erlang/emacs-erlang-ts@959907d26d
erlang/otp@2a970bf725 -> erlang/otp@e281016db9
2025-12-07 18:01:05 -05:00
KARASZI István
9ef731939a bump: :lang clojure
clojure-emacs/cider@389833f85a -> clojure-emacs/cider@fb7aa88812
clojure-emacs/clojure-ts-mode@32490c80fa -> clojure-emacs/clojure-ts-mode@96fdffcbe9
2025-12-04 16:28:56 -05:00
Henrik Lissner
a4a61976dc
bump: :lang idris latex markdown
ardumont/markdown-toc@e3429d3014 -> ardumont/markdown-toc@d3324cb6bc
emacs-straight/auctex@a2809e4d70 -> emacs-straight/auctex@a6f4741c22
idris-hackers/idris-mode@da5c22f436 -> idris-hackers/idris-mode@85928dc4cc
jrblevin/markdown-mode@d51c469133 -> jrblevin/markdown-mode@92802fae9e
seagle0128/grip-mode@11fecd5b38 -> seagle0128/grip-mode@26bdadf604
2025-12-04 04:42:04 -05:00
Henrik Lissner
fd643d78a8
bump: :lang haskell java julia ledger nix racket
emacs-lsp/lsp-haskell@aa9b5bce35 -> emacs-lsp/lsp-haskell@871a0ef2e9
emacs-lsp/lsp-java@9230a0007c -> emacs-lsp/lsp-java@acbc074f30
gcv/julia-snail@cacf52e4c8 -> gcv/julia-snail@7b50882f5a
greghendershott/racket-mode@172b7d4c5a -> greghendershott/racket-mode@d98852ef6d
haskell/haskell-mode@e5d32021ea -> haskell/haskell-mode@383b4b7775
https://codeberg.org/pranshu/haskell-ts-mode@b47211699944 -> https://codeberg.org/pranshu/haskell-ts-mode@b7db74c7fe96
ledger/ledger-mode@e9bb645e8f -> ledger/ledger-mode@1cee636788
nix-community/nix-ts-mode@e68ef36312 -> nix-community/nix-ts-mode@706bbfaf7f
2025-12-03 00:04:42 -05:00
Henrik Lissner
459906d447
bump: :lang beancount dart elixir fsharp go graphviz
ananthakumaran/exunit.el@9a7cfc3d78 -> ananthakumaran/exunit.el@12a1efd003
beancount/beancount-mode@eb8b9b72a7 -> beancount/beancount-mode@8a564f5a26
emacs-lsp/lsp-dart@34e2a1191f -> emacs-lsp/lsp-dart@fd82395180
emacsorphanage/dart-mode@edb45cb709 -> emacsorphanage/dart-mode@9fbf703e1f
fsharp/emacs-fsharp-mode@91abae13e8 -> fsharp/emacs-fsharp-mode@c0f4df4747
ppareit/graphviz-dot-mode@2c7ba85d19 -> ppareit/graphviz-dot-mode@516c151b84
weijiangan/flycheck-golangci-lint@14bf143ea7 -> weijiangan/flycheck-golangci-lint@38cc30eb8b
2025-12-02 21:46:22 -05:00
Henrik Lissner
3a2c394a0a
bump: :lang php python raku rest swift zig
Raku/raku-mode@14f9b9bba0 -> Raku/raku-mode@d06baaa2e8
emacs-lsp/lsp-pyright@0e59c00c7f -> emacs-lsp/lsp-pyright@21b8f48785
emacs-lsp/lsp-sourcekit@30918cd1ae -> emacs-lsp/lsp-sourcekit@b4666e7deb
emacs-php/php-mode@40b8abed30 -> emacs-php/php-mode@d9858333e4
emacsorphanage/restclient@ad97f666b6 -> emacsorphanage/restclient@426507f8f7
ljos/jq-mode@3275c3f53f -> ljos/jq-mode@39acc77a63
necaris/conda.el@8a1a934a2d -> necaris/conda.el@82b9f77a7f
pythonic-emacs/pyenv-mode@364bddb8f0 -> pythonic-emacs/pyenv-mode@8e5128ff7f
rechsteiner/swift-ts-mode@43a0be79f9 -> rechsteiner/swift-ts-mode@17806f6f56
swift-emacs/swift-mode@fc7df7bd90 -> swift-emacs/swift-mode@cfae3b85ad
ziglang/zig-mode@dab3c37c2d -> ziglang/zig-mode@20e395f940
2025-12-02 21:44:55 -05:00
Henrik Lissner
45339fd8b6
bump: :lang org
emacs-jupyter/jupyter@3615c2de16 -> emacs-jupyter/jupyter@de89cbeca8
emacs-straight/org-mode@8b15a0d0b4 -> emacs-straight/org-mode@b7bc0ede67
emacsmirror/org-contrib@f1f6b6ec81 -> emacsmirror/org-contrib@90e1d6bd62
emacsorphanage/htmlize@c9a8196a59 -> emacsorphanage/htmlize@fa64488069
hakimel/reveal.js@4cf184924d -> hakimel/reveal.js@becc9bd19e
magit/orgit-forge@5a0dbe2601 -> magit/orgit-forge@15f8e91083
magit/orgit@8493c24808 -> magit/orgit@e0b3fca9f3
minad/org-modern@d5e1f5af65 -> minad/org-modern@567b702ad0
oer/org-re-reveal@4eb0f71474 -> oer/org-re-reveal@fea255aef7
org-roam/org-roam@89dfaef38b -> org-roam/org-roam@f4ba41cf3d
2025-12-02 21:22:11 -05:00
Henrik Lissner
8c615cc333
bump: :lang gdscript lua rust sh
emacs-rustic/rustic@2b4ac5de3b -> emacs-rustic/rustic@e77f62facc
godotengine/emacs-gdscript-mode@a0d25b46d8 -> godotengine/emacs-gdscript-mode@79739fc80f
jschaf/powershell.el@99e0e73082 -> jschaf/powershell.el@ae60e11c96
rust-lang/rust-mode@9915b3a585 -> rust-lang/rust-mode@2d31814676
technomancy/fennel-mode@0d638f6133 -> technomancy/fennel-mode@c1bccdec9e
2025-12-02 21:21:58 -05:00
Henrik Lissner
15db7620e4
fix(haskell): lsp activation w/ treesit & eglot
Fixed an issue where eglot wouldn't activate if lsp-haskell was disabled
or the user had +tree-sitter enabled.

Fix: #8528
2025-12-02 21:13:35 -05:00
Kisaragi Hiu
67fcff28b4 fix(emacs-lisp): set Helpful tab-width to 8
This matches the expected tab-width of Emacs code using tab indentation.

Fix: #8574
2025-12-01 23:52:01 -05:00
Bror
79f82f16ab fix(swift): tree-sitter-swift missing parser.c
The current HEAD on https://github.com/alex-pinkus/tree-sitter-swift
does not include generated files. Use a tag that does.

The solution proposed in the repository of downloading artifacts from an
action is not feasible as they expire and become unavailable.
2025-12-01 23:51:38 -05:00
Max-Heinrich Laves
139ab93fef
fix(cc): gate major-mode-remap-defaults hacks behind +tree-sitter
Prevents the use of *-ts-mode's when +tree-sitter isn't enabled.
2025-12-01 00:43:36 -05:00
Samuel Tschiedel
4b7431cba3 fix(org): check :async on already loaded languages
Running a regular/`:sync` source block would prevent successive
invocations of blocks of that same language with `:async` from loading
`ob-async`.
2025-12-01 00:38:18 -05:00
Samuel Tschiedel
bf62193238 fix(org): don't export noweb-cache-related var
Org added a global cache for noweb expansion that includes a buffer
object. Those aren’t readable by the Lisp reader across processes, so
when async.el serializes the parent environment and hits that cons
`'(#<buffer *new*> . 739 )`, the child later tries to read it and errors
with `Invalid read syntax: "#<"'`

Fix: https://github.com/astahlman/ob-async/issues/99
2025-12-01 00:38:18 -05:00
Henrik Lissner
6aed2e7160
revert: fix(python): eglot not recognizing (based)?pyright
95a3751 was misinformed and incorrect. This reverts the change.

Revert: 95a375182b
Revert: #8436
Close: #8563
2025-11-04 21:49:28 -05:00
timhansinger
b22a3a6d7a
fix(latex): double-backlash prefixed to @start statements
Ref: https://lists.gnu.org/archive/html/emacs-orgmode/2025-09/msg00066.html
2025-11-04 21:43:53 -05:00
Henrik Lissner
ef9e8d8925
bump: centered-window
emacsmirror/centered-window@80965f6c6a -> nullvec/centered-window-mode@701f56cd1d

First, anler/centered-window-mode went missing (fixed in 9debe1b), then
emacsmirror/centered-window was rebased onto
larstvei/centered-window-mode and squashed down to one commit. Seems
Melpa now points to nullvec's mirror, so we'll target that.

Fix: #8512
Amend: 9debe1b3fc
Co-authored-by: marienz <marienz@users.noreply.github.com>
2025-10-06 07:13:25 -04:00
Henrik Lissner
bc9618d744
fix(cc): ffap in C modes (and ts-modes) 2025-09-29 16:53:23 -04:00
Henrik Lissner
ef94c82e03
fix(lua): treesit: use tree-sitter-lua@v0.3.0 on <= 29
Fix: #8531
2025-09-26 00:15:54 -04:00
Henrik Lissner
5b9978c636
fix(gdscript): add interpreter-mode-alist entry
Upstream only adds this for gdscript-ts-mode?
2025-09-24 21:04:26 -04:00
Henrik Lissner
97854432ce
feat(gdscript): add treesit support 2025-09-24 21:04:26 -04:00
Henrik Lissner
fbdde6b5f4
module!: add :editor whitespace
BREAKING CHANGE: Moves ws-butler, dtrt-indent, and whitespace defaults
out of Doom's core and into a new module. ws-butler is gated behind
+trim and dtrt-indent behind +guess. Users who depend on/like these
packages will need to enable the new module and their respective
flags (which is the default going forward).

This change is motivated by an ongoing effort to slim down Doom's
core (by (re)moving non-essentials from it).

This also addresses an issue where dtrt-indent would vastly increase
load times for some major-modes (e.g. elixir-mode & elm-mode, see #7537)
by restricting it to non-project files and non-read-only buffers AND
excludign those two major modes from indent guessing.

Fix: #8516
Fix: #7537
2025-09-24 02:23:30 -04:00
Henrik Lissner
22f86d25e9
fix(elixir): void-variable lsp-elixir-server-command
Amend: 4f62b503b9
2025-09-24 00:08:34 -04:00
Henrik Lissner
4f62b503b9
fix(elixir): use elixir-ls if in $PATH
And if the user hasn't themselves changed `lsp-elixir-server-command`.
2025-09-22 23:29:57 -04:00
XIE Huiwu
230f8999ab fix(php): tree-sitter indent rule should use cdar instead of cadr 2025-09-22 11:11:02 -04:00
Troy Brown
31c43cdceb fix(ada): use gpr-specific modes and indent properly
GNAT Project modes (`gpr-mode` and `gpr-ts-mode`) exist to handle .gpr files.
These modes are now used instead of the Ada major mode.

Lines may need to be re-indented when RET is pressed.  This is to handle cases
of incomplete syntax and ambiguity in what may be entered when an empty line is
initially indented.  Re-indenting after text has been entered corrects
incorrectly guessed initial indentation.  To accommodate this scenario, RET is
remapped to `reindent-then-newline-and-indent`.

Also updates documentation to reflect these changes.
2025-09-21 19:45:01 -04:00
Henrik Lissner
c48aa1851c
fix(org): load +roam.el for +roam2
Was meant to be part of d92883b, for backwards compatibility with folks
still using the +roam2 flag.

Amend: d92883bff8
2025-09-20 14:39:02 -04:00
Henrik Lissner
2a65250743
refactor(org): +roam: remove org-roam-v2-ack
Was removed upstream.

Ref: org-roam/org-roam@2c5f429b24
2025-09-20 13:04:52 -04:00
Henrik Lissner
055788047c
fix(sml): mirror sml-mode config to sml-ts-mode 2025-09-20 12:37:24 -04:00
Henrik Lissner
3c10db6824
fix(sml): company-mlton support in sml-ts-mode 2025-09-20 12:36:19 -04:00
Henrik Lissner
3f964df041
fix(org): +roam: revert org-roam-db-gc-threshold to default
It's high enough, increasing it this high may make it spiral in the
worst cases.

Fix: #7009
2025-09-20 02:57:54 -04:00
Henrik Lissner
d92883bff8
refactor!(org): remove org-roam v1
BREAKING CHANGE: This finally removes org-roam v1, which has been
deprecated for nearly 5 years (since 5ef733b). Most users should already
be on it. v2 has a migration wizard for anyone still on v1, which will
kick in if it detects a v1 roam db.
2025-09-20 02:51:30 -04:00
Henrik Lissner
849b1e4aa8
feat(org): org-roam-insert spacing in normal mode
Fix: #8513
2025-09-19 01:06:49 -04:00
Henrik Lissner
a9e08e15d7
fix(php): treesit: PSR-2 indentation for chained methods
Before:

    public function someMethod()
    {
        return $this->doSomething()
                   ->doSomethingElse()
                   ->andDoOneLastThing();
    }

After:

    public function someMethod()
    {
        return $this->doSomething()
            ->doSomethingElse()
            ->andDoOneLastThing();
    }

Fix: doomemacs/community#36
2025-09-18 22:47:53 -04:00
Henrik Lissner
9debe1b3fc
bump: centered-window
anler/centered-window-mode@80965f6c6a -> emacsmirror/centered-window@80965f6c6a

anler/centered-window-mode has vanished, causing errors when installed
with ':lang (org +present)'.

Fix: #8512
2025-09-18 10:46:23 -04:00
Henrik Lissner
a72c865c35
tweak(org): don't configure ob-python
More recent versions of ob-python (Org 9.7+) calculates the python
command from `python-shell-interpreter` and
`python-shell-interpreter-args`, effectively rendering this block
(mostly) redundant. It still leaves
`org-babel-python-command-nonsession` to be changed, but I think I'll
leave that to users to set, for simplicity's sake.

What's more, users who repin Org to an older version (predating
bzg/org-mode@9239b0e8d1) will see void-variable errors for this new
variable.

Fix: #8509
2025-09-17 23:28:46 -04:00
Henrik Lissner
6eb467668e
fix(org): update org-babel-python-command-nonsession
Ref: bzg/org-mode@9239b0e8d1
2025-09-17 10:45:14 -04:00
Henrik Lissner
a4526fd10d
refactor(org): remove ob-ditaa fix
The scripts directory was removed from org-contrib back in Org 9.5. Now,
there is no way to resolve the "correct" location of these jar paths
without cloning the entirety of Worg, which is too heavy a dependency to
manage for an unmaintained package.
2025-09-17 10:40:55 -04:00
Henrik Lissner
6a630660ac
fix(org): +jupyter: wrong-number-of-args error
Forgot to remove the extra argument when I converted this from an
:around advice to :before.

Fix: #8509
Amend: 979b3aa8c1
2025-09-17 10:16:53 -04:00
Henrik Lissner
7b35a31322
fix(org): +jupyter: syntax highlighting for remapped modes
Particularly treesit ts-modes.
2025-09-17 10:16:40 -04:00
Henrik Lissner
979b3aa8c1
refactor(org): +jupyter: loader & ob-async blacklist 2025-09-17 01:23:05 -04:00