Commit graph

3817 commits

Author SHA1 Message Date
Jeetaditya Chatterjee
06ed5ade3f
refactor!(tree-sitter): add +tree-sitter flag
BREAKING CHANGE: break the global nature of the tree sitter
module by adding a +tree-sitter flag to every applicable module

In the background this hooks turn-on-tree-sitter-mode
to the major-mode-hook of the language.
This may also solve the eager loading of tree sitter
2022-05-22 21:26:00 +01:00
Henrik Lissner
8a27eb99be
perf(org): optimize org-roam node listings
org-roam-get-keyword performs some file IO to read file keywords from
all nodes. This can be slow with long node lists. With
org-roam/org-roam#1963, file title is baked into the schema, so we don't
need to do this work anymore.

Ref: org-roam/org-roam#1963
Fix: #6382
2022-05-09 15:43:32 +02:00
Colin Woodbury
6bf725837d fix(fortran): account for spaces in filenames 2022-04-26 03:58:14 +02:00
pancho horrillo
f51a2cdd3a
fix(python): usage of obsolete alias letf
Amend: 04b76fd0ce
2022-04-18 18:14:16 +02:00
Henrik Lissner
04b76fd0ce
fix(python): HTTP request from pip-requirements-mode
pip-requirements-mode fetches the pypi.org package list via HTTP
request, which blocks. This can sometimes take unbearably long in cases
where the user has a slow or no internet connection.

This fix defers this behavior until the first time completion is
invoked.

Fix: #5998
2022-04-17 03:23:40 +02:00
Henrik Lissner
f7e127af58
revert: gnuplot
emacs-gnuplot/gnuplot@7be3c7adde -> emacs-gnuplot/gnuplot@7138b139d2

This package was accidentally bumped in 48658d2136. The original
issue (#6080) has not been resolved upstream.

Fix: #6080
Ref: #6090
Amend: 48658d2136
2022-04-17 03:23:40 +02:00
Eric Dallo
d9e66630b5 feat(clojure): improve default variables when +lsp 2022-04-16 18:12:52 +02:00
Itai Y. Efrat
6fc5fe56f2 docs(go): add doctor check for gopls executable 2022-04-16 18:10:37 +02:00
Itai Y. Efrat
7b7940bb37 docs(go): disable gocode doctor check if lsp is on 2022-04-16 18:10:37 +02:00
Colin Woodbury
d501b48f2e docs(fortran): show how to install Intel Fortran 2022-04-16 02:48:24 +02:00
Colin Woodbury
f64a61a7e1 feat(fortran): keymappings for Intel 2022-04-16 02:48:24 +02:00
Colin Woodbury
81dc9af008 feat(fortran): initial addition of ifort functions 2022-04-16 02:48:24 +02:00
Henrik Lissner
4538225fc5
fix(javascript): void-function typescript-tsx-mode
Caused when you have :lang web disabled, but :lang javascript enabled.
This is a stopgap until I decide what to do with typescript-tsx-mode.

Fix: #6243
2022-04-08 02:51:50 +02:00
Christoph Rauch
065e005db9 fix(org): #+ constructs hidden forever
Leaving org-tree-slide-mode did not unhide #+ constructs.
Now +org-present-hide-blocks-h is triggered when leaving the mode as
well, fixing the behaviour.
2022-04-06 18:39:12 +02:00
Ellis Kenyő
6bbf837c9f fix(graphql): remove *Messages* spam
The faces were defined wrong, so every time a buffer came into focus, it
would spam *Messages*.
2022-04-06 14:31:45 +02:00
Henrik Lissner
86a8b41e37
refactor(beancount): +beancount/clone-transaction 2022-04-03 20:51:54 +02:00
David Lukes
9e79aa3446
tweak(org): fold all sections on zm in org-roam buffer 2022-04-03 20:47:14 +02:00
Ellis Kenyő
4da450ffd7 module: add :lang graphql
This module enables GraphQL[1] usage within Doom with extended
functionality.

[1] https://www.graphql.org
2022-04-03 16:38:57 +02:00
Henrik Lissner
e8c22c770b
docs(emacs-lisp): remove sharp-quoted example for add-hook!
add-hook! is advertised to be able to add multiple hooks using a
function-quoted list of functions, but add-hook! never actually
supported this. Rather than correct the implementation, I'm correcting
the documentation instead, because sharp-quoting lists betrays the
semantics of the sharp-quote. Quoted lists should still work fine
though (as documented in add-hook!'s docstring).

Close: #5843
2022-04-03 14:58:35 +02:00
Henrik Lissner
6f8b83b884
refactor(default,python): move smartparens config
Ref: 41cbb1fe7b
2022-04-01 19:12:35 +02:00
Alexander Graul
ff31427687 tweak(python): use pyproject.toml as project file
With PEP 518, Python defined a general Python project configuration
format that is called pyproject.toml
2022-04-01 04:31:59 +02:00
Alexander Graul
41cbb1fe7b tweak(python): update smartparens config
- Automatically close f-strings
- Don't insert trailing colons in function definitions
2022-04-01 04:31:59 +02:00
Henrik Lissner
86901cca7d
refactor(rust): remove redundant code
Amend: c05822ab39
2022-03-31 21:15:26 +02:00
Henrik Lissner
c05822ab39
bump: :lang
Emacs-Kotlin-Mode-Maintainers/kotlin-mode@876cc27dc1 -> Emacs-Kotlin-Mode-Maintainers/kotlin-mode@3e0c34087b
FStarLang/fstar-mode.el@3afbf04e4e -> FStarLang/fstar-mode.el@c95c2a61a6
Fanael/edit-indirect@7fffd87ac3 -> Fanael/edit-indirect@e3d86416bc
Fuco1/sphinx-mode@b5ac514e21 -> Fuco1/sphinx-mode@9d4075c106
Groovy-Emacs-Modes/groovy-emacs-modes@84f89b68ec -> Groovy-Emacs-Modes/groovy-emacs-modes@bf732d367b
NixOS/nix-mode@8e20de5ba7 -> NixOS/nix-mode@20ee8d8890
OCamlPro/ocp-indent@9e26c0a269 -> OCamlPro/ocp-indent@7c4d434132
ProofGeneral/PG@df19c7ba0e -> ProofGeneral/PG@e1e29acb04
Raku/raku-mode@eaac071f17 -> Raku/raku-mode@977b14a7c1
Sarcasm/irony-mode@5063d6b16d -> Sarcasm/irony-mode@870d1576fb
agda/agda@2816605bfd -> agda/agda@2816605bfd
amake/flutter.el@81c524a43c -> amake/flutter.el@08138f8c95
ananthakumaran/exunit.el@5bb115f327 -> ananthakumaran/exunit.el@0715c2dc2d
ananthakumaran/tide@28137ed904 -> ananthakumaran/tide@b93e555858
asok/projectile-rails@30828afbfa -> asok/projectile-rails@772f4766b5
asok/rake@9c204334b0 -> asok/rake@452ea0caca
brotzeit/rustic@f4b5c288af -> brotzeit/rustic@6eec971387
cdominik/cdlatex@f215b70c5c -> cdominik/cdlatex@8e963c6853
clojure-emacs/cider@36277802a4 -> clojure-emacs/cider@86dd3fee9d
codesuki/add-node-modules-path@7d9be65b3b -> codesuki/add-node-modules-path@63f047fd84
crystal-lang-tools/emacs-crystal-mode@15998140b0 -> crystal-lang-tools/emacs-crystal-mode@96a8058205
cython/cython@5b325c9860 -> cython/cython@fdea2d6bed
diml/utop@c87b8b2817 -> diml/utop@5d72a0ab34
dominikh/go-mode.el@32cbd78c0a -> dominikh/go-mode.el@3273fcece5
elixir-editors/emacs-elixir@6bbc1e5ac4 -> elixir-editors/emacs-elixir@e0d0466d83
emacs-csharp/csharp-mode@9917e1b97d -> emacs-csharp/csharp-mode@856ecbc0a7
emacs-ess/ESS@a7ce81bb76 -> emacs-ess/ESS@39eba28300
emacs-geiser/geiser@c1cc4da1ed -> emacs-geiser/geiser@9507e81a07
emacs-geiser/guile@cfd9116dcb -> emacs-geiser/guile@c641fcc50b
emacs-lsp/lsp-dart@813d3c92db -> emacs-lsp/lsp-dart@fda433671f
emacs-lsp/lsp-haskell@4e62cf897d -> emacs-lsp/lsp-haskell@7cf64944ab
emacs-lsp/lsp-java@ce03cb6574 -> emacs-lsp/lsp-java@0968038b9a
emacs-lsp/lsp-metals@695291761b -> emacs-lsp/lsp-metals@b7f77de694
emacs-lsp/lsp-pyright@d428dbcf18 -> emacs-lsp/lsp-pyright@3598bc7c47
emacs-php/php-mode@535aec8173 -> emacs-php/php-mode@5f26bec865
emacs-php/phpactor.el@272217fbb6 -> emacs-php/phpactor.el@34195f1533
emacs-straight/auctex@3b0a080ae5 -> emacs-straight/auctex@830e40a063
emacs-straight/csv-mode@8da54e8b4e -> emacs-straight/csv-mode@43f6106f0d
emacs-typescript/typescript.el@e824162051 -> emacs-typescript/typescript.el@88f317f0b6
erlang/otp@c1ab4b5424 -> erlang/otp@9ba9f6e60d
ethereum/emacs-solidity@6f7bd1641e -> ethereum/emacs-solidity@20fb77e089
factor/factor@7b451bb813 -> factor/factor@1aeafdb87b
fsharp/emacs-fsharp-mode@c90d762c06 -> fsharp/emacs-fsharp-mode@b3aa4c53fc
fxbois/web-mode@61f057a6ba -> fxbois/web-mode@efa853e5cf
godotengine/emacs-gdscript-mode@b7bfa6a3b2 -> godotengine/emacs-gdscript-mode@4badcf6a0c
greghendershott/racket-mode@a879a8d67b -> greghendershott/racket-mode@af9b760e7b
hakimel/reveal.js@918ee5610a -> hakimel/reveal.js@e281b3234e
haskell/haskell-mode@8402caa341 -> haskell/haskell-mode@cb573c8db5
hhvm/hack-mode@4c1c2b0939 -> hhvm/hack-mode@a522f61c08
technomancy/fennel-mode@47152970a9 -> https://git.sr.ht/~technomancy/fennel-mode@50ef3c6246f3
hvesalai/emacs-sbt-mode@e29464a82b -> hvesalai/emacs-sbt-mode@9fe1e8807c
hylang/hy-mode@5253533ddb -> hylang/hy-mode@df814865a1
idris-hackers/idris-mode@3cc9361b4c -> idris-hackers/idris-mode@65d6db1b75
iyefrat/evil-tex@aa0ddf8e76 -> iyefrat/evil-tex@0fa85c3fc8
jcollard/elm-mode@f2e2d0053f -> jcollard/elm-mode@d4e434fa18
joaotavora/sly@2e00c3bd4b -> joaotavora/sly@4513c382f0
jorgenschaefer/emacs-buttercup@1de6be465c -> jorgenschaefer/emacs-buttercup@f5cbf97e10
joshwnj/json-mode@0e819e519a -> joshwnj/json-mode@eedb456003
jrblevin/markdown-mode@541bd7b48a -> jrblevin/markdown-mode@521658eb32
jschaf/powershell.el@d1b3f95669 -> jschaf/powershell.el@ce1f0ae0b2
jwiegley/emacs-async@5d365ffc6a -> jwiegley/emacs-async@c78bab7506
leanprover/lean-mode@bf32bb9793 -> leanprover/lean-mode@c1c68cc946
ledger/ledger-mode@19b84dc766 -> ledger/ledger-mode@b55384d9cd
necaris/conda.el@7a34e06931 -> necaris/conda.el@9c28d7a853
nonsequitur/inf-ruby@03dd9c9d4e -> nonsequitur/inf-ruby@dbf4386bac
ocaml-ppx/ocamlformat@22a3707da3 -> ocaml-ppx/ocamlformat@9324ea439a
ocaml/dune@4d0a47edd5 -> ocaml/dune@4bc7629a5e
ocaml/merlin@e4791e2298 -> ocaml/merlin@5d59c70659
ocaml/tuareg@00faf47a7c -> ocaml/tuareg@04f5ab6be9
osv/company-web@f0cc9187c9 -> osv/company-web@863fb84b81
pashky/restclient.el@176d9cb655 -> pashky/restclient.el@9e2cfa8652
pezra/rspec-mode@92ef785010 -> pezra/rspec-mode@4215ff1f2d
polymode/polymode@54888d6c15 -> polymode/polymode@2094c92403
seagle0128/grip-mode@9220a560b4 -> seagle0128/grip-mode@6b427143a8
sebasmonia/sharper@08277b6c30 -> sebasmonia/sharper@96edd4a1db
stan-dev/stan-mode@9bb858b9f1 -> stan-dev/stan-mode@150bbbe5fd
swift-emacs/swift-mode@800efe2910 -> swift-emacs/swift-mode@0d1ef0ef18
tpapp/julia-repl@e90b1ed2cc -> tpapp/julia-repl@6c1d63511f
wbolster/emacs-python-pytest@b603c5c7f2 -> wbolster/emacs-python-pytest@ea53891a21
yoshiki/yaml-mode@63b637f846 -> yoshiki/yaml-mode@535273d5a1
ziglang/zig-mode@aba01b6199 -> ziglang/zig-mode@aa20d630b8

- Refactors the :lang rust module to reflect changes upstream, in
  rustic (thanks to #6154).

Close: #6154
Fix: #6070
2022-03-31 21:09:38 +02:00
mjkramer
fdf817aaea
fix(latex): install style/ etc in auctex recipe
Ref: raxod502/straight.el#240
2022-03-31 15:22:00 +02:00
Henrik Lissner
62cfa409de
fix(latex): missing setq value
Whoops!

Amend: c36d1702fb
2022-03-31 14:06:10 +02:00
Henrik Lissner
c36d1702fb
fix(latex): unused reftex-cite-formt value
Close: #5778
Ref: https://superuser.com/a/1386206
2022-03-31 01:06:07 +02:00
Valentin Herrmann
2d108e14a2
fix(org): multiple fixes for +org--insert-item
There are multiple problems with the previous version of
`+org--insert-item', e.g. the labels of ordered lists were not updated
and it also made a difference if the point is before or after the
bullet.

This commit fixes this behavior, but uses a horrible hack. For the edge
case of an empty item, it inserts a no-break space momentarily, so that
`org-insert-item' does the right thing.
2022-03-30 20:06:40 +02:00
Henrik Lissner
48658d2136
bump: :lang org
alf/ob-restclient.el@f81f2f4f3f -> alf/ob-restclient.el@586f1fa07f
awth13/org-appear@303fcc8d5d -> awth13/org-appear@ffbd742267
emacs-gnuplot/gnuplot@7138b139d2 -> emacs-gnuplot/gnuplot@57be3c7add
emacs-straight/org-mode@e7ea951ac9 -> emacs-straight/org-mode@971eb6885e
emacsmirror/org-contrib@e318392177 -> emacsmirror/org-contrib@17f3c51435
fuxialexander/org-pdftools@a5b61bca3f -> fuxialexander/org-pdftools@967f48fb50
hakimel/reveal.js@19f04bcbcb -> hakimel/reveal.js@918ee5610a
kaushalmodi/ox-hugo@1b6b3dc8f9 -> kaushalmodi/ox-hugo@65e349b306
magit/orgit-forge@365b75609a -> magit/orgit-forge@36e57a0359
magit/orgit@66367d6bfc -> magit/orgit@42b7f682b3
marcinkoziej/org-pomodoro@aa07c11318 -> marcinkoziej/org-pomodoro@3f5bcfb80d
nnicandro/emacs-jupyter@42a9765897 -> nnicandro/emacs-jupyter@0a7055d7b1
oer/org-re-reveal@55fca47c74 -> oer/org-re-reveal@e5bae22b9e
org-roam/org-roam@eed1df90f5 -> org-roam/org-roam@36152590ad
2022-03-30 17:49:35 +02:00
Henrik Lissner
9d1513af46
bump: :core
bbatsov/projectile@0243ad7dc9 -> bbatsov/projectile@f3468e8d20
domtronn/all-the-icons.el@2c963ebb75 -> domtronn/all-the-icons.el@65c496d3d1
jscheid/dtrt-indent@926fc4260c -> jscheid/dtrt-indent@66fc30af02
raxod502/straight.el@653b04a64f -> raxod502/straight.el@e2de88ea0e
2022-03-30 17:49:35 +02:00
Henrik Lissner
45a2e8b540
bump: :lang clojure
clojure-emacs/cider@02ca530216 -> clojure-emacs/cider@36277802a4
clojure-emacs/clojure-mode@b7d08b87f6 -> clojure-emacs/clojure-mode@c339353f9e
clojure-emacs/parseclj@9059504963 -> clojure-emacs/parseclj@b04eae6738

Ref: clojure-emacs/cider#3170
2022-03-30 17:32:47 +02:00
Henrik Lissner
d58d084774
tweak(:lang,:tools): start eglot/lsp-mode later
To ensure lsp/eglot settings have precedence over local servers (e.g.
cider and lookup handlers).

Ref: clojure-emacs/cider#3170
2022-03-30 17:32:47 +02:00
Henrik Lissner
aed2972d74
fix(org): don't show parent trees by default
Instead of changing the behavior of the showNlevels startup options,
I've added a new set of showNlevels* options to perform the new behavior
of unfolding parent trees all the way up to the target level.

Ref: https://www.reddit.com/r/emacs/comments/tj0na6/comment/i1laya6/?utm_source=reddit&utm_medium=web2x&context=3
2022-03-22 02:49:09 +01:00
Colin Woodbury
5c32360361 feat(fortran): improve keymap layout 2022-03-21 04:00:10 +01:00
Colin Woodbury
137fca35d8 feat(fortran): generalised build options for menu
Specifically for when compilation is done through the modeline's Easy
Menu, the commands will use `fpm` or `gfortran` dynamically depending on
whether the current file is present in a project or not.
2022-03-21 04:00:10 +01:00
Colin Woodbury
5c52ba35e7 feat(fortran): override the default menus 2022-03-21 04:00:10 +01:00
Henrik Lissner
97155412a9
fix(emacs-lisp): missing package cookies in imenu 2022-03-21 03:57:03 +01:00
Henrik Lissner
23d77e688b
bump: :lang agda
agda/agda@af9c4b9686 -> agda/agda@2816605bfd

Close: #6150
2022-03-19 16:43:44 +01:00
Henrik Lissner
7c6ebc48d5
bump: :lang rust
brotzeit/rustic@804ebfe029 -> brotzeit/rustic@f4b5c288af

Close: #6153
Co-authored-by: brotzeit <brotzeitmacher@gmail.com>
2022-03-19 16:43:44 +01:00
Henrik Lissner
aeef05bfd7
feat(org): add ::SEARCH support to id: links 2022-03-19 16:43:28 +01:00
Basil Sh
0a12ccae49
fix(web): web-mode-attribute-transpose on wrong key 2022-03-19 16:39:34 +01:00
Colin Woodbury
f817e4ffbd docs(fortran): reference the newer fortls LSP 2022-03-19 16:36:44 +01:00
vemv
594f554fe1 bump: :lang clojure
clojure-emacs/cider@af2e164998 -> clojure-emacs/cider@02ca530216
clojure-emacs/clj-refactor.el@12af23ad8b -> clojure-emacs/clj-refactor.el@f368c56c83
clojure-emacs/clojure-mode@e31186843d -> clojure-emacs/clojure-mode@b7d08b87f6
clojure-emacs/parseclj@a8c4cf30fb -> clojure-emacs/parseclj@9059504963
clojure-emacs/parseedn@e5ba280d1f -> clojure-emacs/parseedn@ea7b5281ec
2022-03-19 16:27:09 +01:00
Mora Unie Youer
cddfa27fb1
fix(org): move org-journal localleader keybinds to 'SPC m j'
Some org-agenda keybinds (for example 'SPC m d s' for scheduling) were
overridden by org-journal-mode-map keybinds, so the latter were moved to
the 'SPC m j' prefix.

Fix: #5239
2022-03-19 16:22:13 +01:00
Mora Unie Youer
18f74d277f
feat(org): keybinds for removing #+RESULTS blocks
Added new keybinds for easy removal of RESULTS blocks in org-mode.

SPC m k - delete RESULTS block under cursor
SPC m K - delete all RESULTS blocks under cursor
SPC u SPC m K - delete all RESULTS blocks in buffer
2022-03-19 16:19:54 +01:00
Nicholas
8e08c651a6
feat(idris): add +lsp support 2022-03-19 16:11:42 +01:00
Daanturo
f63aad2ff6 tweak(emacs-lisp): local leader for lisp-interaction-mode 2022-02-23 17:47:39 +01:00
shenleban tongying
a6eedafb78 bump: :lang coq
ProofGeneral/PG@2145c23f44 -> ProofGeneral/PG@df19c7ba0e
2022-02-23 17:46:56 +01:00
Henrik Lissner
1a0c4e4d14
bump: :lang scheme
emacs-geiser/chez@03da1c1725 -> emacs-geiser/chez@48427d4aec
emacs-geiser/chibi@6f59291d8d -> emacs-geiser/chibi@5a6a5a580e
emacs-geiser/chicken@ceab39c896 -> emacs-geiser/chicken@79a9ac78f4
emacs-geiser/gambit@3294c944d1 -> emacs-geiser/gambit@381d74ca50
emacs-geiser/geiser@327ff01e5b -> emacs-geiser/geiser@c1cc4da1ed
emacs-geiser/guile@8dda28f4f1 -> emacs-geiser/guile@cfd9116dcb
emacs-geiser/kawa@3d999a33de -> emacs-geiser/kawa@5896b19642
emacs-geiser/mit@d17394f577 -> emacs-geiser/mit@4e90e9ae81

Close: #6140
2022-02-23 15:23:14 +01:00
Henrik Lissner
bdac4466f8
tweak(org): move org-persist-directory to doom-cache-dir 2022-02-19 01:08:08 +01:00