Commit graph

3726 commits

Author SHA1 Message Date
James Ravn
8746da61c3
fix(javascript): incorrect lsp formatting for tsx
lsp-mode doesn't detect the correct indentation, since it treats the
derived tsx-mode as a web-mode. This change modifies the lsp-mode
internal alist to recognize tsx-mode correctly. Ideally lsp-mode would
have a better way to modify its known mode lists but I couldn't see it.

Ref: emacs-lsp/lsp-mode#3308
2022-01-13 21:51:07 +01:00
Payas Relekar
ec67a6fb2b bump: :lang common-lisp
joaotavora/sly@540a8c5b9a -> joaotavora/sly@2e00c3bd4b
2022-01-13 21:49:16 +01:00
Henrik Lissner
3a3a8dc240 refactor(fortran): conform to conventions 2022-01-12 01:55:34 +01:00
Saxon Jensen
9cba28621f
feat(php): replace php-boris with psysh (#5967)
php-boris is no longer maintained.

Fix: #5965
2022-01-10 02:24:21 +01:00
Zane Shelby
9db71bb7a5 fix(clojure): add clojurec-mode repl+eval handlers 2022-01-10 02:22:21 +01:00
Henrik Lissner
85fcac4562 bump: :lang julia
JuliaEditorSupport/julia-emacs@06f6fdb94c -> JuliaEditorSupport/julia-emacs@47f43f7d83
gdkrmr/lsp-julia@809da95c05 -> gdkrmr/lsp-julia@d6688bb131
non-Jedi/eglot-jl@49f170e01c -> non-Jedi/eglot-jl@2e35cf9768
tpapp/julia-repl@3f888ecd30 -> tpapp/julia-repl@e90b1ed2cc
2022-01-08 21:35:36 +01:00
marty
bc47e72984 tweak(web): detect and set angular in web-mode
- Add @angular/core in detecting angular to set the web-angularjs minor
mode

- At the same time set the web-mode-engine to "angular" so that
`format-all` uses prettier to format ionic `*.page.html` files in
addition to `*.component.html` files.

When `format-all` sees the web-mode-engine is set to "angular", it
applies `prettier` as opposed to `html-tidy`, as `tidy` doesn't
recognise angular component tags and hence errors out. The current
web-mode only sets the engine to "angular" for "*.components.html".
However, ionic angular uses file names such as "*.page.html", setting
engine will apply prettier to these html fils.
2022-01-06 15:27:54 +01:00
Henrik Lissner
b51d7d6d7f
merge: pull request #5893 from gilbertwong96/fix/erlang
fix(erlang): fix broken erlang-mode
2022-01-05 04:06:28 +01:00
Henrik Lissner
d8285d9d4c fix(elixir): eval & repl handlers
set-{eval,repl}-handler! operate on major modes, not minor modes (this
should be corrected upstream, but I'll do so later). This doesn't apply
to set-lookup-handlers!, but I'm changing it too for consistency.
2022-01-05 04:02:30 +01:00
GilbertWong
e692d8e9fd
feat(erlang): add doctor tool for erlang module 2022-01-04 10:44:20 +08:00
GilbertWong
0e99b6b952
refactor!(erlang): remove company-erlang
BREAKING CHANGE: Remove `company-erlang` which depends on
`ivy-erlang-complete`. `company-erlang` and `ivy-erlang-complte` have
not been maintained now. The lsp mode provides much better experience
than `company-erlang` and `ivy-erlang-complete`. The
`ivy-erlang-complete` package also has the defect that slow down the
erlang-mode buffer when the buffer is huge enough. It is not a good
choice to integrate ivy-erlang-complete nowadays even as a non-LSP
option.
2022-01-04 10:44:18 +08:00
GilbertWong
beda11068b
bump: :lang erlang
erlang/otp@118cb37bd5 -> erlang/otp@c1ab4b5424

Ref: erlang/otp#5314
2022-01-04 10:42:49 +08:00
Henrik Lissner
b88eb77605
merge: pull request #5908 from ethan-leba/repl-handler
Add :send-region and :send-buffer options to `set-repl-handler!`
2022-01-03 18:12:31 +01:00
Henrik Lissner
67a9573f0d fix(org): tab not invoking cdlatex-tab in headings
In org-mode, if one writes a math expression in a section (i.e. heading)
while using cdlatex, pressing tab indents the section instead of
performing a cdlatex-tab.

This fix takes care of this issue to have the wanted behavior: if in
math environment and hit tab while in section, execute cdlatex-tab.

Close: #5926
Co-authored-by: roiholtzman <roiholtzman@users.noreply.github.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
d9dc7339c4 bump: :lang java
emacs-lsp/lsp-java@3246272b43 -> emacs-lsp/lsp-java@ce03cb6574
mopemope/meghanada-emacs@6c57e8a0ae -> mopemope/meghanada-emacs@59c46cabb7

Close: #5944
Co-authored-by: Zero King <l2dy@users.noreply.github.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
cbf911289f bump: :lang clojure
borkdude/flycheck-clj-kondo@a558bda44c -> borkdude/flycheck-clj-kondo@d8a6ee9a16
clojure-emacs/cider@7228402c09 -> clojure-emacs/cider@af2e164998
clojure-emacs/clj-refactor.el@4cb75bd6a2 -> clojure-emacs/clj-refactor.el@12af23ad8b
clojure-emacs/clojure-mode@e1dc7caee7 -> clojure-emacs/clojure-mode@e31186843d
2022-01-03 16:51:51 +01:00
Ethan Leba
1d0f4ca424 tweak(python): use python-shell repl handlers
Fix: #4375
2021-12-18 10:45:17 -05:00
Damien Pollet
db20b5b661 fix(nim): correct :lang nim SHA from last bump
Wrong SHA for package nim-mode (looks like a copy-paste mishap).

Amend: hlissner/doom-emacs@fd2788c268
2021-12-18 01:13:02 +01:00
Jack Thorne
a46f741a89 feat(crystal): add spec keybinds
Adds test running shortcuts similar to :lang ruby's.
2021-12-15 22:32:21 +01:00
Henrik Lissner
34cb632a61 bump: :lang cc go javascript python ruby web
Andersbakken/rtags@cdff9b47fc -> Andersbakken/rtags@db39790fda
Sarcasm/irony-mode@ec6dce7ee1 -> Sarcasm/irony-mode@5063d6b16d
ananthakumaran/tide@296c0e0e3a -> ananthakumaran/tide@28137ed904
brianc/jade-mode@111460b056 -> brianc/jade-mode@1ad7c51f3c
cython/cython@aea4e6b84b -> cython/cython@5b325c9860
dgutov/robe@fd972e912d -> dgutov/robe@11207bd549
dominikh/go-mode.el@34974346d1 -> dominikh/go-mode.el@32cbd78c0a
emacs-lsp/lsp-pyright@72fd57643d -> emacs-lsp/lsp-pyright@d428dbcf18
emacs-typescript/typescript.el@2a58631230 -> emacs-typescript/typescript.el@e824162051
galaunay/poetry.el@d5163fe065 -> galaunay/poetry.el@5b9ef569d6
hlissner/emacs-counsel-css@f7647b4195 -> hlissner/emacs-counsel-css@8e9c0515fc
hlissner/emacs-pug-mode@d08090485e -> hlissner/emacs-pug-mode@73f8c2f95e
jorgenschaefer/pyvenv@045ff9476d -> jorgenschaefer/pyvenv@31ea715f21
necaris/conda.el@4de6eccda5 -> necaris/conda.el@7a34e06931
pythonic-emacs/anaconda-mode@4f367c768a -> pythonic-emacs/anaconda-mode@cbea0fb318
wbolster/emacs-python-pytest@31ae5e0e68 -> wbolster/emacs-python-pytest@b603c5c7f2
2021-12-15 15:18:11 +01:00
Colin Woodbury
f3ddf235b5
module: add :lang fortran
* feat(fortran): account for f90 and fortran modes

* feat(fortran): initial keybindings

* feat(fortran): basic compilation

* feat(fortran): compilation popup

This customizes the name of the compilation buffer produced by the
`compile` function. We're keeping things simple; Emacs already knows how
to run compilation commands in a popup and parse the results, so let's
let it do its thing.

* feat(fortran): doctor checks

* docs(fortran): installation instructions

* feat(fortran): actual usage of fpm

* feat(fortran): configure compilation popups

* feat(fortran): improved raw gfortran usage

Although it's recommended to do everything through `fpm` to make life
easier.

* docs(fortran): backburner `+intel` for now

* feat(fortran): address PR suggestions
2021-12-15 15:16:22 +01:00
Gerry Agbobada
d43f260af6 fix(cc): remove double lenses with lsp
On current pins, ccls and lsp code lenses aren't mutually exclusive,
and there is actually 2 sets of code lenses appearing
2021-12-15 15:15:08 +01:00
James Ravn
fd2788c268 bump: :lang nim
nim-lang/nim-mode@d832d6b1fb -> nim-lang/nim-mode@744e076f0b

Includes nim-suggest.el fix for nim-mode on Emacs 27+ (void function
error).

Ref: nim-lang/nim-mode@744e076f0b
2021-12-13 18:48:25 +01:00
wonjun
c8b15fef73
feat(python): add miniforge support to conda.el
Look for "~/miniforge3" and "~/.miniforge3" as possible locations for
`conda-anaconda-home`.
2021-12-12 23:13:41 +01:00
VitalyR
8eb6ab03c4
bump: org-roam
org-roam/org-roam@a2e46db808 -> org-roam/org-roam@abe63b4360

Recent Emacs master removed the `###autoload` cookie above
`ucs-normalize-NFD-string`, which broke org-roam's ability to create
nodes -- this was fixed upstream.

Also, org-roam has introduced the way to customize how contents are
retrieved. This should fix #5766.

Fix: #5766
Ref: org-roam/org-roam#1981
Ref: org-roam/org-roam#1990
2021-12-12 23:11:31 +01:00
Ellis Kenyő
bca75fc5c5
feat(fsharp): use dotnet for inferior-fsharp-program
Applies from .NET Core 2 onwards.
2021-12-12 23:09:16 +01:00
Henrik Lissner
cc73c2f75e bump: :lang org
awth13/org-appear@a1aa8496f2 -> awth13/org-appear@a4d10fc346
emacs-straight/org-mode@27edae8ced -> emacs-straight/org-mode@0c9b30e961
emacsmirror/org-contrib@0231706232 -> emacsmirror/org-contrib@e318392177
emacsorphanage/ox-pandoc@e76324ecf1 -> emacsorphanage/ox-pandoc@eda1f21fd5
hakimel/reveal.js@c79f4b5a4f -> hakimel/reveal.js@a9277f9d46
kaushalmodi/ox-hugo@3442d8cf1f -> kaushalmodi/ox-hugo@88e6068190
nnicandro/emacs-jupyter@162d047e62 -> nnicandro/emacs-jupyter@df343af5e9

Close: #5887
Co-authored-by: iyefrat <iyefrat@users.noreply.github.com>
2021-12-12 22:43:40 +01:00
Ethan Leba
a27cd2de13 fix(sh): disable meta fetch by default on mac OS
The `whatis` command is excessively slow on mac OS, rendering
company-shell unusable.

Ref: #5839
2021-12-03 16:45:22 +01:00
frodera
b352470f69
bump: :lang sh
Alexander-Miller/company-shell@52f3bf26b7 -> Alexander-Miller/company-shell@a77f4de759

Updates company-shell to include `company-shell-dont-fetch-meta`, so we
can prevent slowdown caused by whatis shell calls to look up meta
strings.

Ref: https://github.com/Alexander-Miller/company-shell#excessively-slow-meta-lookup
2021-11-30 14:03:03 +01:00
Henrik Lissner
c93790bb5c fix(org): omit -i switch from org-babel-python-command
The -i switch for python or ipython can cause python org src blocks to
hang indefinitely when executed.

Ref: hlissner/doom-emacs@c0d988fe0d
Ref: #5569
2021-11-28 22:08:07 +01:00
Henrik Lissner
798df6bc9e feat(org): follow citations on +org/dwim-at-point
As discussed in #5290, pressing RET on citations (or citation
references) will now follow them.

Ref: #5290
2021-11-25 01:22:58 +01:00
Filipe Silva
f18a8ad109 fix(clojure): clojurec-mode -> clojurec-mode-map
See https://github.com/hlissner/doom-emacs/issues/5762#issuecomment-978337753
2021-11-25 00:00:33 +01:00
Henrik Lissner
df64f5f94b fix(clojure): localleader labels in clojurec-mode
Fix: #5762
2021-11-24 22:12:10 +01:00
Henrik Lissner
2f39d3fced fix(cli): "Unknown terminal type" error on bin/org-capture
Fix: #5438
2021-11-24 22:03:21 +01:00
Dominik Schrempf
a16571db04
nit(latex): table d'hôte
This is a huge set of pedantic changes, none them affecting actual code.

Mostly, I tried to:
- use consistent names; e.g, use LaTeX wherever possible, not latex;
- fix broken symbol links;
- use capitalized comments with full stops.
2021-11-24 13:08:34 +01:00
Henrik Lissner
273d561762 fix(zig): rely on :editor format alone
Otherwise, two formatters are run if :editor format is enabled.

Fix: #5817
2021-11-23 13:06:34 +01:00
Henrik Lissner
45ee0ecf21 refactor(biblio): reformat module
- Defer citar-org, since citar autoloads it.
- Add introducing PR to #+SINCE and use new calver scheme.
- Move <localleader> @ keybind to :lang org

Ref: #5810
2021-11-22 15:45:00 +01:00
Luis
3231db863c fix(dart): remove hardcoded path to flutter SDK
Instead, flutter.el looks for the executable in PATH.
2021-11-21 19:05:38 +01:00
Henrik Lissner
80cb57d513 bump: :tools debugger lsp :lang java
emacs-lsp/dap-mode@a18f29e3d1 -> emacs-lsp/dap-mode@76cad34de8
emacs-lsp/lsp-java@2a7d27e899 -> emacs-lsp/lsp-java@3246272b43
emacs-lsp/lsp-mode@f72278c660 -> emacs-lsp/lsp-mode@9865d31512
gagbo/consult-lsp@b9aa9617f1 -> gagbo/consult-lsp@aaa9a31bc8
joaotavora/eglot@9665359bb6 -> joaotavora/eglot@55c13a9137
realgud/realgud@7a70b27614 -> realgud/realgud@978b455d7d

Fix: #5765
2021-11-21 16:10:49 +01:00
Henrik Lissner
a3d040bcd7 bump: :lang org
emacs-straight/org-mode@2e99997830 -> emacs-straight/org-mode@27edae8ced
emacsorphanage/ox-pandoc@aa37dc7e94 -> emacsorphanage/ox-pandoc@e76324ecf1
hakimel/reveal.js@1ce77db3d0 -> hakimel/reveal.js@c79f4b5a4f
kaushalmodi/ox-hugo@9438efc34f -> kaushalmodi/ox-hugo@3442d8cf1f
nnicandro/emacs-jupyter@20e68a6836 -> nnicandro/emacs-jupyter@162d047e62
oer/org-re-reveal@ee0417aac3 -> oer/org-re-reveal@55fca47c74
org-roam/org-roam@3e47f198c7 -> org-roam/org-roam@a2e46db808

Fix: #5520
Fix: #5784
2021-11-21 16:10:49 +01:00
Henrik Lissner
616956ac94 fix(haskell): remove evil-digit-argument-evil-beginning-of-line call
evil-digit motions were refactored in emacs-evil/evil#1519 (where
evil-digit-argument-evil-beginning-of-line was removed), which was
pulled in during 8645634608.

Fix: #5731
Ref: 8645634608
Ref: emacs-evil/evil#1519
2021-11-21 16:10:49 +01:00
Henrik Lissner
cd206ad1c7 bump: :lang coq
ProofGeneral/PG@e2b4227e1f -> ProofGeneral/PG@2145c23f44

Fix: #5742
2021-11-20 00:55:24 +01:00
Manjinder Singh
e303be6951 fix(org): show outline path on refile to current file
Before this change, the +org/refile-to-current-file command would
display a flat list of tail headings in the current file, without
context, which can result in duplicates and can make it difficult to
tell where you're refiling a heading to.

This changes each heading to be a full path.
2021-11-19 23:44:28 +01:00
Valentin Herrmann
53fcce8187 fix(org): no roam buffer for capture buffers 2021-11-18 19:06:23 +01:00
Vu Quoc Huy
c247f9aabd fix(latex): run AUCTeX folding after font locking
This guarantees that `TeX-fold-buffer` is run after the style
hooks and not before. Otherwise, it looks like they may
reset/erase font-lock stuff you have set up.
2021-11-18 19:05:36 +01:00
Eric Dallo
7b07c620e7 bump: :lang clojure
clojure-emacs/cider@0a9d0ef429 -> clojure-emacs/cider@7228402c09

Bump cider to has new hooks used by new feature
2021-11-18 19:05:02 +01:00
Eric Dallo
8f816cf8b9 feat(clojure): improve cider repl icon state 2021-11-18 19:05:02 +01:00
Henrik Lissner
a4695b6b4b bump: :lang org
emacs-straight/org-mode@d4e1925147 -> emacs-straight/org-mode@2e99997830
https://git.sr.ht/~bzg/org-contrib@56a3bbbd486c -> emacsmirror/org-contrib@0231706232
kaushalmodi/ox-hugo@14723c3cb9 -> kaushalmodi/ox-hugo@9438efc34f
nnicandro/emacs-jupyter@1f0612eb93 -> nnicandro/emacs-jupyter@20e68a6836
org-roam/org-roam@c789531e36 -> org-roam/org-roam@3e47f198c7

Switching to emacs-mirror/org-contrib resolves SSL issues (see #5655).

Fix: #5655
Close: #5719
Co-authored-by: Stefan Lendl <stfl@users.noreply.github.com>
2021-11-04 01:13:28 +01:00
Henrik Lissner
0adaf03088 fix(org): prematurely terminated string in org-version.el
Amend: 935ed860a1
2021-11-01 02:17:34 +01:00
Henrik Lissner
935ed860a1 bump: :lang org
emacs-straight/org-mode@1b2d06880f -> emacs-straight/org-mode@d4e1925147
org-roam/org-roam@1b221a1d4a -> org-roam/org-roam@c789531e36

- An unguarded native-comp-available-p call was fixed upstream (in org),
  which caused void-function errors for non-native-comp users (#5706).
- org-version.el is now generated with the correct version, so we don't
  have to update it ourselves.

Fix: #5706
2021-11-01 02:14:22 +01:00