Henrik Lissner
06392a723f
refactor: rename orig-fn arg in advice to fn
...
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Rudi Grinberg
dd55ebb67a
module: add :lang dhall
...
Close #4791
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-08-03 01:51:31 -04:00
Henrik Lissner
3bedae38dd
dev: transition to 12c long hashes
...
In bumps, in :pin's, and in our git conventions. We have no rules for
the commit linter for it yet, though.
2021-08-02 22:07:13 -04:00
Henrik Lissner
130c6e90d5
fix(org): doom-module links opening private modules
...
A doom-module: link should only refer to built-in modules, not
user-provided ones in $DOOMDIR/modules.
2021-08-01 23:37:36 -04:00
Joshua Suskalo
9dc0d10c09
fix(clojure,org): use cider for org-babel
...
More than a year ago a change was added to ob-clojure that prevented
evaluating a Clojure code block without setting
`org-babel-clojure-backend'. This change sets this to a default value of
CIDER, since that is the main tool used in Doom.
Without this change, manual configuration is required to use Clojure in
org babel documents.
Close #5233
2021-08-01 15:26:55 -04:00
Yoav Marco
eb3d645bde
fix(latex): bind TeX-view in LaTeX-mode-map too
...
Close #4945
2021-08-01 15:15:45 -04:00
Sergey Nizovtsev
8257954d53
docs(go): update gore URL in README
...
The Gore repository was moved and `go get` won't handle redirects.
Close #5325
2021-08-01 14:56:54 -04:00
Henrik Lissner
11007f3997
feat(org): add kbd & doom-{module,package}} links
...
I make extensive use of these in our new in-repo Org documentation.
2021-07-31 19:40:58 -04:00
Henrik Lissner
858a0e44a3
feat(org): open help:* links with helpful-*
...
Rather than describe-*
2021-07-31 04:35:49 -04:00
Henrik Lissner
83171ac554
feat(org): add #+STARTUP inlinegifs playgifs
...
- #+STARTUP: inlinegifs = play inline gif previews when point is on
them.
- #+STARTUP: playgifs = play all gifs in the visible buffer (super,
super slow; use at your own risk).
- Add +org-startup-with-animated-gifs for changing the global
default (nil). Can be set to 'at-point (inlinegifs) or t (playgifs)
2021-07-31 04:35:49 -04:00
Henrik Lissner
443370b4d7
feat(crystal): add +lsp flag and support
...
Since lsp-crystal is provided by lsp-mode.
2021-07-31 04:35:49 -04:00
Henrik Lissner
6065073faa
feat(lua): improve fennel support
...
+ Add fennel-show-documentation handler (on K).
+ Add outline-minor-mode support.
+ Set tab-width to 2 in fennel-mode, for consistency with other lisp
modes.
2021-07-28 15:26:43 -04:00
Henrik Lissner
823fb275a0
feat(org): expand parents for showNlevels option
...
#+STARTUP: showNlevels
This tells org to expand N levels at startup, but it only partially
unfolds headings, so show2levels gets you:
* A [...]
** X [...]
** Y [...]
** Z [...]
Instead of (what I think is expected):
* A
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
** X [...]
** Y [...]
** Z [...]
Perhaps this should be upstreamed?
2021-07-28 15:02:14 -04:00
Henrik Lissner
7b274c7dbe
feat(org): add native :async support
...
ob-comint (included with org) added native :async support. It only works
for python currently, but unlike ob-async supports :session for :async
python blocks. In fact, it *requires* :session, so we still fall back to
ob-async in its absence, failing that, it ultimately falls back to
synchronous execution.
2021-07-28 15:00:38 -04:00
Henrik Lissner
c48c01ebab
feat(org): set org-num-face & org-num-skip-tags
...
+ Perhaps a dedicated face would be better, but org-special-keyword will
do for now.
+ Don't number trees tagged :noexport: or :nonum:.
2021-07-28 14:06:35 -04:00
Henrik Lissner
cd87cc0cc8
refactor: remove redundant org code
...
org-collect-keywords does the job here. No need to reinvent the wheel.
2021-07-28 12:42:22 -04:00
Henrik Lissner
54a556c2fa
lang/emacs-lisp: add flycheck-package
2021-07-25 16:37:28 -04:00
Henrik Lissner
ce905b9246
Expand latex snippets in org-mode fragments on TAB
2021-07-25 15:41:29 -04:00
Henrik Lissner
4ac5332a1d
Merge pull request #5271 from Wetlize/add-roam2
...
lang/org: Add `+roam2` flag for org-roam v2
2021-07-25 04:13:03 -04:00
Itai Y. Efrat
24eaa1317c
completion/selectrum -> completion/vertico, part 2
...
- Rename module from `:completion selectrum` to `:completion vertico`
- Rename all files involved
- Do *not* yet rename all the functions, as that messes up git's rename
detection.
2021-07-25 02:51:15 +03:00
Itai Y. Efrat
26a310d04c
selectrum: improve ivy parity
...
- add `completion-at-point` as analogue to `cousnel-company`
- fix emacs-bindings `counsel-company` binding to respect helm and selectrum
- add org jump commands `consult-org-heading` and `consult-org-agenda` bindings
- add `consult-history` as `counsel-minibuffer-history` analogue
- add support for `doom/help-search`
- update TODO.org
2021-07-25 02:50:31 +03:00
Wetlize
6330c57bce
Sniff for a different symbol in +org-roam-suppress-sqlite-build-a
...
`org-roam-db-location` is redefined in the :preface section, so we need
to rely on a different symbol to determine whether `org-roam` is loading
or not.
2021-07-25 02:49:45 +03:00
Wetlize
c6e4ffb929
Improve display of custom templates in the minibuffer
2021-07-25 02:49:40 +03:00
Wetlize
13f0c4785e
Fix keymap precedence for evil users in the org-roam-buffer
...
`org-roam-mode` based buffers use `magit-section` to render sections.
The problem is that `magit-section` will layer keymaps for each section
under a text property. In Emacs, text property based keymaps have a
higher precedence for a lookup[0] than `emulation-mode-map-alists`, in
which Evil and leader keymaps are stored in.
[0]: https://www.gnu.org/software/emacs/manual/html_node/elisp/Searching-Keymaps.html
2021-07-25 02:20:50 +03:00
Wetlize
ff331781c5
Bump org-roam
...
org-roam/org-roam@e997c01 -> org-roam/org-roam@028c95a
2021-07-25 02:20:50 +03:00
Wetlize
9f7641d6c8
Add evil bindings for org-roam-mode
...
These are about the same as you would have them in `magit`.
2021-07-25 02:20:50 +03:00
Wetlize
9e12873779
Update handling of the database
...
v2 reverted to using `emacsql-sqlite` instead of `emacsql-sqlite3`. It
will now try to build the needed `sqlite3` executable by itself, using a
C compiler that it can find, which is normally gcc or clang.
Previously in v1 it would only check for `sqlite3` executable (using
`executable-find`) and wouldn't do anything else.
2021-07-25 02:20:41 +03:00
Wetlize
5ef733b488
lang/org: Add +roam2 flag for org-roam v2
2021-07-25 01:42:09 +03:00
Henrik Lissner
bc2a90dd15
Merge pull request #4905 from davydog187/patch-1
...
Syntax highlight .sface files as html
2021-07-24 18:32:43 -04:00
Henrik Lissner
2855351b2c
lang/org: fix TAB override in GUI emacs
...
Not sure if this was a recent change (28.0.50+), but a new conditional
keybind in outline-mode-cycle-map was overriding TAB in insert mode in
org-mode (in GUI Emacs).
2021-07-23 22:10:43 -04:00
Henrik Lissner
9811756e80
Bump :lang org
...
Kungsgeten/org-brain@e9b9b3e -> Kungsgeten/org-brain@46ca9f7
Lompik/ob-nim@bf1642c -> Lompik/ob-nim@6fd060a
astahlman/ob-async@de1cd6c -> astahlman/ob-async@9aac486
bastibe/org-journal@043bb9e -> bastibe/org-journal@6c3a2fd
emacs-straight/org-mode@7a62a4d -> emacs-straight/org@b83ae59
emacsorphanage/gnuplot@116cad8 -> emacsorphanage/gnuplot@7138b13
hakimel/reveal.js@cf8e64b -> hakimel/reveal.js@b18f12d
harrybournis/org-fancy-priorities@819bb99 -> harrybournis/org-fancy-priorities@44532ab
jkitchin/ox-clip@2095537 -> jkitchin/ox-clip@05a14d5
kaushalmodi/ox-hugo@02140a2 -> kaushalmodi/ox-hugo@290b5d6
magit/orgit-forge@ea2a1cf -> magit/orgit-forge@365b756
magit/orgit@609fd0c -> magit/orgit@f956d80
oer/org-re-reveal@18a2456 -> oer/org-re-reveal@cf00089
org-roam/org-roam@8ad57b1 -> org-roam/org-roam@756f621
Note: org-roam/org-roam@756f621 is the last v1 commit, and should be
frozen from this point onward (a +roam2 flag will be introduced soon).
2021-07-18 02:19:32 -04:00
Henrik Lissner
a760c679a3
lang/beancount: remove redundant lsp config
...
lsp-beancount support was added upstream in emacs-lsp/lsp-mode@b294e74
2021-07-13 14:38:34 -04:00
Henrik Lissner
8b95aa5d3e
lang/racket: add +lsp flag
...
And add link to racket's README.
2021-07-12 19:20:23 -04:00
Henrik Lissner
aad7bc521f
markdown-nested-imenu-heading-index = nil
...
See jrblevin/markdown-mode#578 .
2021-07-12 18:08:55 -04:00
Henrik Lissner
9ffa5d6c2f
org-roam-link-use-custom-faces = everywhere
2021-07-12 12:22:21 -04:00
Henrik Lissner
6be2262423
Bump :lang
...
200ok-ch/counsel-jq@153d70b -> 200ok-ch/counsel-jq@8cadd2e
Andersbakken/rtags@63f18ac -> Andersbakken/rtags@65113e2
Groovy-Emacs-Modes/groovy-emacs-modes@26da902 -> Groovy-Emacs-Modes/groovy-emacs-modes@99eaf70
NixOS/nix-mode@0023fc5 -> NixOS/nix-mode@3cca5b6
ProofGeneral/PG@f0f0476 -> ProofGeneral/PG@bc86736
Raku/raku-mode@8a6e17f -> Raku/raku-mode@7496ad3
StanfordLegion/terra-mode@1e5e824 -> StanfordLegion/terra-mode@eab9e59
TheBB/company-reftex@291c283 -> TheBB/company-reftex@42eb98c
agda/agda@ecb9323 -> agda/agda@af9c4b9
ananthakumaran/tide@ad6fa78 -> ananthakumaran/tide@ccff099
asok/projectile-rails@f1fe6e8 -> asok/projectile-rails@6a18ada
beancount/beancount-mode@3c04745 -> beancount/beancount-mode@02fe03e
brotzeit/rustic@ed68fd3 -> brotzeit/rustic@6ca73bb
cdominik/cdlatex@adf96ba -> cdominik/cdlatex@614a8d9
clojure-emacs/clojure-mode@a14671e -> clojure-emacs/clojure-mode@3e426b3
cython/cython@9decfca -> cython/cython@fae33cf
dgutov/robe@126650a -> dgutov/robe@e1304d1
diml/utop@711c246 -> diml/utop@c87b8b2
dominikh/go-mode.el@49a5380 -> dominikh/go-mode.el@3497434
elixir-editors/emacs-elixir@0212b06 -> elixir-editors/emacs-elixir@6bbc1e5
emacs-csharp/csharp-mode@f977800 -> emacs-csharp/csharp-mode@093f0f2
emacs-ess/ESS@126d344 -> emacs-ess/ESS@4fefd0f
emacs-lsp/lsp-dart@f3b70ec -> emacs-lsp/lsp-dart@01d89d4
emacs-lsp/lsp-haskell@7efbef3 -> emacs-lsp/lsp-haskell@eb37ac4
emacs-lsp/lsp-java@9685334 -> emacs-lsp/lsp-java@b66a075
emacs-lsp/lsp-metals@51a89c1 -> emacs-lsp/lsp-metals@9f82ebe
emacs-lsp/lsp-pyright@65fb141 -> emacs-lsp/lsp-pyright@71a7976
emacs-lsp/lsp-sourcekit@aafa987 -> emacs-lsp/lsp-sourcekit@ae4aa87
emacs-php/php-mode@a2bca9b -> emacs-php/php-mode@cbf2723
emacs-php/phpactor.el@80788a8 -> emacs-php/phpactor.el@272217f
emacs-straight/auctex@1472d1d -> emacs-straight/auctex@ea410dc
erlang/otp@94c9738 -> erlang/otp@645ea81
ethereum/emacs-solidity@b4fd719 -> ethereum/emacs-solidity@5f6ef31
factor/factor@5bfeab6 -> factor/factor@b989a86
fsharp/emacs-fsharp-mode@78898a1 -> fsharp/emacs-fsharp-mode@93b1fbc
godotengine/emacs-gdscript-mode@16c631c -> godotengine/emacs-gdscript-mode@b7bfa6a
greghendershott/racket-mode@5115c47 -> greghendershott/racket-mode@7f12cb1
haskell/haskell-mode@1baa12a -> haskell/haskell-mode@98ba392
hhvm/hack-mode@847fd91 -> hhvm/hack-mode@f9315be
hlissner/emacs-pug-mode@685fd34 -> hlissner/emacs-pug-mode@d080904
hvesalai/emacs-sbt-mode@0bdc36b -> hvesalai/emacs-sbt-mode@e29464a
idris-hackers/idris-mode@80aabd2 -> idris-hackers/idris-mode@f52ad0b
immerrr/lua-mode@2d9a468 -> immerrr/lua-mode@2bd9077
iyefrat/evil-tex@5f0d6fb -> iyefrat/evil-tex@87445d4
jcollard/elm-mode@e9fcf9c -> jcollard/elm-mode@f2e2d00
joaotavora/sly@5966d68 -> joaotavora/sly@41f4d65
jorgenschaefer/pyvenv@9b3678b -> jorgenschaefer/pyvenv@045ff94
jrblevin/markdown-mode@ac9ea26 -> jrblevin/markdown-mode@359347b
jwiegley/emacs-async@d7e7f79 -> jwiegley/emacs-async@9a8cd0c
jyp/attrap@778382e -> jyp/attrap@a5bc695
leanprover/lean-mode@5c50338 -> leanprover/lean-mode@bf32bb9
ledger/ledger-mode@32fef09 -> ledger/ledger-mode@19b84dc
nathankot/company-sourcekit@abf9bc5 -> nathankot/company-sourcekit@a1860ad
necaris/conda.el@dce431b -> necaris/conda.el@6db0720
non-Jedi/eglot-jl@84cff9d -> non-Jedi/eglot-jl@49f170e
nonsequitur/inf-ruby@c6990a6 -> nonsequitur/inf-ruby@03dd9c9
ocaml-ppx/ocamlformat@0ad8d0a -> ocaml-ppx/ocamlformat@5dd6574
ocaml/dune@65e04ba -> ocaml/dune@75ecfe3
ocaml/merlin@635923d -> ocaml/merlin@5731826
ocaml/tuareg@37a6730 -> ocaml/tuareg@b59c422
pashky/restclient.el@abc307b -> pashky/restclient.el@2cc1fd3
polymode/polymode@b3871e9 -> polymode/polymode@7d1f822
pythonic-emacs/anaconda-mode@344727c -> pythonic-emacs/anaconda-mode@4f367c7
seagle0128/grip-mode@2855205 -> seagle0128/grip-mode@c0ca789
sebasmonia/sharper@d610b83 -> sebasmonia/sharper@08277b6
swift-emacs/swift-mode@ad12a30 -> swift-emacs/swift-mode@1b47a09
technomancy/fennel-mode@ba14a7d -> technomancy/fennel-mode@a908db8
tpapp/julia-repl@7ce38a9 -> tpapp/julia-repl@79e686e
ziglang/zig-mode@2d0eb23 -> ziglang/zig-mode@0babe7e
Closes #5221
2021-07-11 17:52:08 -04:00
Henrik Lissner
ec95669710
lang/javascript: remove coffee-mode
...
The coffee-mode config was too trivial (a one-liner), and is becoming
too niche for inclusion-by-default in the javascript module.
I'm technically removing js2-mode too, but rjsx-mode installs it as a
dependency anyway.
2021-07-11 17:52:08 -04:00
Henrik Lissner
243cb43fec
Fix #5187 : syntax highlighting in ielm REPL
2021-07-10 16:32:53 -04:00
Seong Yong-ju
721d5dd853
Bump jupyter
...
Bump nnicandro/emacs-jupyter@6ce8d01 -> nnicandro/emacs-jupyter@1f0612e
nnicandro/emacs-jupyter#320 contains a bug fix for Emacs 28 +
native-comp.
2021-07-10 23:06:23 +09:00
Henrik Lissner
239f3cfdb4
Merge pull request #5154 from ymarco/yas-beg-end-is-nil
...
lang/latex +fold: fix error when yas-snippet-{beg,end} are nil
2021-07-08 18:12:24 -04:00
Henrik Lissner
715cabe54f
Merge pull request #5162 from iyefrat/json
...
lang/json/doctor: only check for jq if ivy is on
2021-07-08 18:01:43 -04:00
Henrik Lissner
0ed6592b30
Merge pull request #5193 from iyefrat/fennel
...
lang/lua: document fennel support in readme
2021-07-08 17:44:33 -04:00
Henrik Lissner
a1c80a5dcd
Merge pull request #5203 from bersace/bats
...
Define sh-mode for bats files
2021-07-08 17:38:40 -04:00
Henrik Lissner
459eba8fe0
Merge pull request #5214 from cwlbraa/bump-flycheck-kotlin
...
bump flycheck-kotlin to support newer ktlint
2021-07-08 14:15:48 -04:00
Henrik Lissner
5ed4cbf6f2
Merge pull request #5230 from PatrickWulfe/flutter-localleader-binding-fix
...
The dart config was setting the 'flutter-run-or-hot-reload' keybind w…
2021-07-08 14:13:26 -04:00
Patrick Wulfe
80db3110a5
Made changes specified in pull request
2021-07-08 10:16:42 -07:00
Étienne BERSAC
ef84fce68c
Define sh-mode for bats files
...
bats is a superset of shell script for writing automated tests exected
with TAP. sh-mode works very well with bats files.
2021-07-08 11:16:38 +02:00
Henrik Lissner
044a1a5f2b
Drop Emacs 26.x support
...
Emacs 27.x has been the stable version of Emacs for nearly a year, and
introduces a litany of bugfixes, performance, and quality-of-life
improvements that significantly reduce Doom's maintenance burden (like
XDG support, early-init.el, image manipulation without imagemagick, a
native JSON library, harfbuzz support, pdumper, and others).
With so many big changes on Doom's horizon, I like having one less (big)
thing to worry about.
Also reverts bb677cf7a
(#5232 ) as it is no longer needed.
2021-07-06 02:31:52 -04:00
Henrik Lissner
ff2d56794e
Don't activate sly-mode in lisp-mode derived modes
...
Fixes some issues (like indentation or unrelated sly-mode warnings) in
lisp-like major modes (like fennel-mode).
2021-07-06 02:31:22 -04:00
Patrick Wulfe
c091b27e4a
Made changes specified in pull request
2021-07-04 18:44:01 -07:00