Commit graph

3948 commits

Author SHA1 Message Date
Henrik Lissner
bcb29f7d17 feat(python): search for anaconda home in ~/.conda
What even are standards?
2022-01-27 18:18:52 +01:00
Prashant Tak
4bdcf48a0b
docs(org): add org-pretty-table to readme
Ref: #6033
Amend: 53ea2e4ce2b8
2022-01-27 16:30:47 +01:00
Ernest DONG
8b41f44882
refactor(python): remove redundant pyright+eglot config
joaotavora/eglot@fd27cdc8f9 adds Pyright support to Eglot, so these
lines can be removed.

Amend: 34cb632a61
Revert: #5355
Ref: joaotavora/eglot@fd27cdc8f9
Ref: joaotavora/eglot#742
2022-01-27 15:44:45 +01:00
Henrik Lissner
451be94fb8 fix(org): out-of-bounds refreshing inline images
A regression caused by 6934014, due to
org-babel-where-is-src-block-result returning a position after
org-babel-result-end.

Fix: #6046
Amend: 69340149f9
2022-01-27 14:37:04 +01:00
Tony
b663e447e6 feat(org): add org-pretty-table for +pretty
Replace '-', '+', and '|' characters in tables with unicode glyphs.
2022-01-27 04:05:55 +01:00
Henrik Lissner
7290f85cfd feat(eval): set load-true-file-name & buffer-file-truename
So they are available in evaluated contexts.
2022-01-27 03:50:52 +01:00
Henrik Lissner
69340149f9 fix(org): don't refresh images while exporting/tangling
Also limits the scope of org-display-inline-images to the current src
block. org-display-inline-images was previously used on the entire
subtree, which was slower than it needed to be (especially while
exporting/tangling org).
2022-01-27 03:43:51 +01:00
Kiran Shila
71535d7ffc
docs(julia): update lsp environment to recent LTS
As of 1 Dec, Julia v1.6 is the new LTS release.

Ref: #6010
2022-01-27 03:37:26 +01:00
Kiran Shila
1f27a68ae6 tweak(julia): update lsp environment to recent LTS 2022-01-27 03:36:04 +01:00
Caio Rulli Thomaz
db08aeaa7a docs(clojure): add check for clj-kondo 2022-01-27 03:27:51 +01:00
Jeetaditya Chatterjee
3341270781 docs(haskell): add lsp predicate to format check
So that if someone follows the advice of the warning, it will then go
away
2022-01-15 21:14:44 +01:00
Henrik Lissner
3a8f22118a bump: :lang dart
emacs-lsp/lsp-dart@64fb5d9303 -> emacs-lsp/lsp-dart@813d3c92db

Fix: #5877
2022-01-14 01:03:10 +01:00
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
Nicolas Cavigneaux
b2c366d946 docs(org): fix typo in capture example 2022-01-13 21:49:34 +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
Carlos D'Agostino
23503cfb44 docs(haskell): fix docs for alternative formatter
Small fixup to use the proper form when setting an alternative
formatter using the `after!` macro
2022-01-05 15:08:29 +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
Michalis Pardalos
c9399c1a19 docs(coq): expand README
+ Hack: Abbrevs are replaced with snippets
+ Installation: To enable completion you also need :completion company
+ Installation: coqtop is required, link to coq download site
+ Troubleshooting: Link to related github issues
2022-01-05 04:04:21 +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