Commit graph

3202 commits

Author SHA1 Message Date
Henrik Lissner
d85c7b857b
lang/cc: fix sem-highlight disabler
We unset ccls-sem-highlight-method buffer-locally, but
lsp-before-initialize-hook only runs once per new LSP server instance,
and each server could preside over any number of buffers, so only the
first buffer is affected.
2020-10-14 21:39:56 -04:00
Henrik Lissner
a776664ebc
Don't load lsp-java/dap-java if +eglot
Relevant to #3999
2020-10-14 01:40:11 -04:00
Henrik Lissner
6b06e0b52f
lang/org: ensure org-auto-align-tags is respected
Should be reported upstream.
2020-10-14 01:03:29 -04:00
Henrik Lissner
93937ab14d
Fix #3964: add ~/opt/miniconda3 to list of default paths 2020-10-13 22:52:10 -04:00
Henrik Lissner
cc877c13a7
Fix #3999: don't install lsp-java for +eglot
Otherwise this pulls in lsp-mode and dap-mode.
2020-10-13 22:24:57 -04:00
Henrik Lissner
0b480a6aad
lang/cc: refactor ccls config
1. Unset ccls-sem-highlight-method if lsp-enable-semantic-highlighting
   is nil (perhaps this should be reported upstream).
2. Fix load-order. Take `(use-package X :after Y :config Z)` for
   example. Z will be evaluated after Y loads, not after X loads. To
   customize Z you'd need to do `(after! Y ...)`. This is
   counter-intuitive. By removing `:after Y` and explicitly loading X
   when Y loads in :init, you can customize Z with `(after! X ...)` again.
3. Tie ccls-code-lens-mode to lsp-lens-mode, so lsp-lens-enable is
   respected.
2020-10-13 21:51:11 -04:00
Henrik Lissner
8d2a430693
Bump org-mode
emacs-straight/org-mode@6c75b00 <- emacs-straight/org-mode@e2bb605

Fixes #4087, caused by upstream breakage in org-capture.
2020-10-13 14:28:36 -04:00
Brian McGillion
fea5205983 [:lang (org +roam)] company-org-roam is depricated
Just cleans up the residue

Signed-off-by: Brian McGillion <brian@ssrc.tii.ae>
2020-10-12 09:02:07 +04:00
Henrik Lissner
de6907aca0
Bump :lang
200ok-ch/counsel-jq@b14dfc5 -> 200ok-ch/counsel-jq@104c77b
Andersbakken/rtags@b57b360 -> Andersbakken/rtags@e6c7005
Emacs-Kotlin-Mode-Maintainers/kotlin-mode@8e6dd57 -> Emacs-Kotlin-Mode-Maintainers/kotlin-mode@0e4bafb
FStarLang/fstar-mode.el@bd28cb8 -> FStarLang/fstar-mode.el@5670fc0
GDQuest/emacs-gdscript-mode@7aea87b -> GDQuest/emacs-gdscript-mode@55a6637
JuliaEditorSupport/julia-emacs@b5f5983 -> JuliaEditorSupport/julia-emacs@8ea90c7
NixOS/nix-mode@0cf1ea1 -> NixOS/nix-mode@bb0b49e
OmniSharp/omnisharp-emacs@e658a18 -> OmniSharp/omnisharp-emacs@e26ff8b
ProofGeneral/PG@03e427a -> ProofGeneral/PG@4f6b602
Raku/raku-mode@e0639c8 -> Raku/raku-mode@8a6e17f
Sterlingg/json-snatcher@c4cecc0 -> Sterlingg/json-snatcher@b28d1c0
agda/agda@36738c1 -> agda/agda@08191e6
asok/projectile-rails@11980b2 -> asok/projectile-rails@7a256b1
borkdude/flycheck-clj-kondo@5472c26 -> borkdude/flycheck-clj-kondo@152df7f
brotzeit/rustic@75b9920 -> brotzeit/rustic@7c9d55b
clojure-emacs/cider@a89b694 -> clojure-emacs/cider@f1c2a79
clojure-emacs/clj-refactor.el@9709568 -> clojure-emacs/clj-refactor.el@6db85b3
clojure-emacs/clojure-mode@84ed16c -> clojure-emacs/clojure-mode@75c2889
cython/cython@fcfd16c -> cython/cython@ba6cbed
dominikh/go-mode.el@734d523 -> dominikh/go-mode.el@d17d210
emacs-ess/ESS@1baf8bf -> emacs-ess/ESS@a694b26
emacs-lsp/lsp-haskell@a56667b -> emacs-lsp/lsp-haskell@4d85cb3
emacs-lsp/lsp-java@2600162 -> emacs-lsp/lsp-java@3f1ed17
emacs-lsp/lsp-metals@039aa72 -> emacs-lsp/lsp-metals@8f8471c
emacs-lsp/lsp-pyright@9603dda -> emacs-lsp/lsp-pyright@ccd0007
emacs-lsp/lsp-python-ms@a884a9a -> emacs-lsp/lsp-python-ms@a0c56f4
emacs-lsp/lsp-sourcekit@130f7a8 -> emacs-lsp/lsp-sourcekit@948c3a3
emacs-straight/rainbow-mode@f780ddb -> emacs-straight/rainbow-mode@fdff98b
emacs-typescript/typescript.el@42a60e5 -> emacs-typescript/typescript.el@e6f68ab
ericdallo/hover.el@e213f2b -> ericdallo/hover.el@3f07a18
erlang/otp@d9bc785 -> erlang/otp@36b4ba4
factor/factor@3fdb032 -> factor/factor@c6e15bd
flycheck/flycheck-cask@3457ae5 -> flycheck/flycheck-cask@4b2ede6
fsharp/emacs-fsharp-mode@3e41fe1 -> fsharp/emacs-fsharp-mode@68dfc22
fxbois/web-mode@60ffd87 -> fxbois/web-mode@b4b0a85
galaunay/poetry.el@22a76cd -> galaunay/poetry.el@eb238d9
greghendershott/racket-mode@c55fd70 -> greghendershott/racket-mode@0ca8b26
hhvm/hack-mode@572c3b4 -> hhvm/hack-mode@9079bc3
hylang/hy-mode@55e84ca -> hylang/hy-mode@7256844
immerrr/lua-mode@35b6e4c -> immerrr/lua-mode@345ebfc
jaor/geiser@adc5c4a -> jaor/geiser@2accab7
joaotavora/sly@34239bc -> joaotavora/sly@fce4f9b
jorgenschaefer/emacs-buttercup@0e5eae0 -> jorgenschaefer/emacs-buttercup@cccdedf
jorgenschaefer/emacs-buttercup@0e5eae0 -> jorgenschaefer/emacs-buttercup@cccdedf
josteink/csharp-mode@4885177 -> josteink/csharp-mode@f46d656
jrblevin/markdown-mode@ef2cb4d -> jrblevin/markdown-mode@152eae2
jschaf/powershell.el@8782677 -> jschaf/powershell.el@d1b3f95
jwiegley/emacs-async@36a1015 -> jwiegley/emacs-async@14f48de
leanprover/lean-mode@6b43776 -> leanprover/lean-mode@cc1f5fa
liblit/demangle-mode@697c1db -> liblit/demangle-mode@aaef0bd
mooz/js2-mode@40aab27 -> mooz/js2-mode@ffb7099
nonsequitur/inf-ruby@9f0f79f -> nonsequitur/inf-ruby@b012457
pashky/restclient.el@ac8aad6 -> pashky/restclient.el@abc307b
pythonic-emacs/anaconda-mode@73266a4 -> pythonic-emacs/anaconda-mode@39b1cf8
pythonic-emacs/pyenv-mode@d191037 -> pythonic-emacs/pyenv-mode@b818901
seagle0128/grip-mode@281ada2 -> seagle0128/grip-mode@91da46f
senny/rvm.el@081d517 -> senny/rvm.el@6897576
swift-emacs/swift-mode@d266fbd -> swift-emacs/swift-mode@e65a80a
wbolster/emacs-python-pytest@fc056fa -> wbolster/emacs-python-pytest@a2f88b1
xuchunyang/elisp-demos@8c97481 -> xuchunyang/elisp-demos@3cca496
2020-10-11 23:20:06 -04:00
Henrik Lissner
bf62aff8c0
lang/cc: fix +cc/ccls-show-* keybinds
Forgot to rename them in df85b4cda.
2020-10-11 21:52:43 -04:00
Henrik Lissner
b76cac9b9a
lang/cc: fix ccls/eglot commands for vanilla users
And conform them to Doom's naming conventions.
2020-10-11 21:50:15 -04:00
Henrik Lissner
ea575e3a8d
Bump :lang org
Kungsgeten/org-brain@671db0e -> Kungsgeten/org-brain@e703ae0
abo-abo/org-download@67b3c74 -> abo-abo/org-download@42ac361
astahlman/ob-async@80a30b9 -> astahlman/ob-async@de1cd6c
bastibe/org-journal@a2728e2 -> bastibe/org-journal@e7c51c4
emacs-straight/org-mode@220f2b0 -> emacs-straight/org-mode@e2bb605
fuxialexander/org-pdftools@8cc15bb -> fuxialexander/org-pdftools@3c2b9a4
hakimel/reveal.js@15815ef) -> hakimel/reveal.js@e09437f)
integral-dw/org-superstar-mode@94f35c2 -> integral-dw/org-superstar-mode@7f83636
kaushalmodi/ox-hugo@75b849e -> kaushalmodi/ox-hugo@95723cd
oer/org-re-reveal@7fe39d5 -> oer/org-re-reveal@29f565f
org-roam/org-roam@c33867e -> org-roam/org-roam@87d7c07

Closes #4034; company-org-roam is now deprecated, completions are
provided via capf instead.

Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
2020-10-11 16:37:51 -04:00
Henrik Lissner
55c36ec4e5
Merge pull request #4076 from lunik1/clojure-doc
Add table describing keybindings for clojure module
2020-10-11 15:01:56 -04:00
lunik1
8290e13333
Describe keybindings for clojure module 2020-10-11 14:29:59 +01:00
Gerry Agbobada
79d4903817
[:lang cc] Fix list in call for cpu count command
I should find some way to test on Mac OS I guess, or test at least. That would make those small errors easier to catch than trying to review it 1000 times
2020-10-11 11:07:21 +02:00
Henrik Lissner
ada70efa8a
Merge pull request #3879 from gagbo/feature/ccls-config
Add ccls-specific configuration
2020-10-10 23:18:20 -04:00
Henrik Lissner
7138cabde0
Bump auctex
emacs-straight/auctex@9e7406c -> emacs-straight/auctex@59e251c

9e7406c does not exist on the emacs-straight/auctex mirror.

Half-reverts #4072
2020-10-10 14:54:25 -04:00
Gerry Agbobada
cec81ac2cc
Add ccls-specific configuration
Most of these changes come from MaskRay's private configuration found
here :
c078dfad34/home/.config/doom/modules/private/my-cc/config.el

- Limit ccls threads to be maximum half the available core count on
  Linux and MacOS
- Add wrappers to call ccls LSP extensions
- Enable ccls-code-lens-mode
- Set initial state to emacs when navigating ccls-tree
- Use 'font-lock for semantic highlighting, making the speed choice
  according to variable's docstring

- config tweaks to eglot
  InitializationOptions aren't handled this way. An example of handling
  ccls init options is provided on joaotavora/eglot#545, hoping that a fix
  gets merged upstream instead of having to handle ccls specifics in Doom
  only
2020-10-10 20:44:52 +02:00
Álan Crístoffer
329c69e88c
Bump :lang latex
jwiegley/auctex@59e251c -> jwiegley/auctex@9e7406c
iyefrat/evil-tex@06234c9 -> iyefrat/evil-tex@a3b6875

iyefrat/evil-tex#3 fixes selection/navigation in LaTeX files which are not the root document and makes section regex-matching more strict, to avoid partial matching.
2020-10-10 09:13:33 -03:00
Henrik Lissner
88f20cc54c
Bump :lang ocaml
ocaml-ppx/ocamlformat@cd0eaa8 -> ocaml-ppx/ocamlformat@1dec6c3
ocaml/dune@daea74e -> ocaml/dune@f967df6
ocaml/merlin@3751cbf -> ocaml/merlin@06833e9

Closes #4068. Includes fix for ocaml-ppx/ocamlformat#1481
2020-10-10 02:31:32 -04:00
Ricky Anderson
2f1be297f2 Add doctor.el for :lang ledger 2020-10-10 02:22:18 +07:00
Henrik Lissner
c2704dc6e6
Merge pull request #3810 from samwdp/develop
Add +powershell to lang/sh module
2020-10-08 13:56:59 -04:00
Sam Precious
2d9c4012c0 added defet for lazy loading and fixed indentation 2020-10-07 17:47:34 +01:00
Henrik Lissner
d807a7513d
Merge pull request #3907 from mlavaert/develop
Added warning for clang-format in doom doctor.
2020-10-06 17:16:37 -04:00
Henrik Lissner
2f57386aa0
Merge pull request #4044 from galagora/develop
Add `json-mode` keybindings under the local leader
2020-10-06 14:04:14 -04:00
galagora
1d90a6a7cd Add json-mode keybindings 2020-10-06 19:52:02 +03:00
Mathias Lavaert
7bff813fc3 Only check when formatting feature is enabled. 2020-10-06 17:38:10 +02:00
Itai Y. Efrat
558277f523 update idris module to new format
also add witty comment
2020-10-06 13:53:32 +03:00
Sam Precious
7c5fe3cf30 Completed PR changes 2020-10-06 08:34:15 +01:00
Sam Precious
f9884cc068 Added powershell flag to sh 2020-10-06 08:30:28 +01:00
Eric Dallo
172e2dbc6b
Bump :lang dart
emacs-lsp/lsp-dart@9036e4b -> emacs-lsp/lsp-dart@c1ff5ce
ericdallo/hover.el@079efb1 -> ericdallo/hover.el@e213f2b
2020-10-05 20:01:39 -03:00
Eric Dallo
2e0a9e0d02
:lang dart: add +flutter keybindings 2020-10-05 19:59:04 -03:00
Henrik Lissner
1a8cd64751
Merge pull request #3976 from bixuanzju/develop
Bump :lang haskell
2020-10-05 17:28:03 -04:00
Henrik Lissner
07b2883bc3
lang/nix: add popup rule for nixos-options-doc 2020-10-05 17:10:57 -04:00
Henrik Lissner
0e7d5b5490
Fix #4027: tab not invoking emmet at EOB 2020-10-05 16:04:13 -04:00
Jeremy Bi
599d3929f0 Bump :lang haskell
emacs-lsp/lsp-haskell@17d7d4c -> emacs-lsp/lsp-haskell@a56667b
haskell/haskell-mode@41683c0 -> haskell/haskell-mode@e726776
jyp/attrap@4cf3e4a -> jyp/attrap@9c88154
jyp/dante@c516bc9 -> jyp/dante@e2acbf6

Switch to haskell-language-server, see https://neilmitchell.blogspot.com/2020/09/dont-use-ghcide-anymore-directly.html
2020-10-05 20:56:34 +08:00
Henrik Lissner
a7c3c5a9d2
Remove org-format-latex-options :background hack
This will be fixed upstream soon, in solaire-mode.
2020-10-04 23:06:11 -04:00
Henrik Lissner
6a30a11709
Fix #4023 (again): background mismatch for latex previews 2020-10-04 21:26:20 -04:00
Henrik Lissner
42332c9631
Merge pull request #3995 from samwhitlock/develop
Adjusting org journal functions to new commands
2020-10-04 20:07:51 -04:00
Henrik Lissner
8dfefe82c8
Merge pull request #3991 from bottomtype/agda-lookup-handler
Add lookup handler to Agda module
2020-10-04 20:03:21 -04:00
Henrik Lissner
018a95cf32
Fix #4023: background mismatch for latex previews
A doom-load-theme-hook hook fixes the background of latex previews, but
by the time org is loaded, this hook will have long since triggered,
giving it no change to update its background, so we must run it at least
once, immediately.
2020-10-04 18:24:59 -04:00
Henrik Lissner
2394e4124a
Don't auto-close brain popup with ESC 2020-10-04 16:15:43 -04:00
Henrik Lissner
4cc8884a2f
lang/rust: mention "2015 edition" rustfmt error fix 2020-10-04 16:15:26 -04:00
Sam Whitlock
1050ba83f0 Adjusting org journal functions to new commands
Silences some obsolescence warnings when navigating among entries
2020-09-29 19:10:58 +02:00
bottomtype
1fa4516cad add definition lookup handler to agda module 2020-09-28 02:10:29 +02:00
Henrik Lissner
1456108d5b
Fix #3888: fall back to org-journal-is-journal
Closes #3925
2020-09-10 18:03:32 -04:00
Mathias Lavaert
8bd4e1f692 Added warning for clang-format in doom doctor.
Code formatting in Java doesn't work without clang-format, but no
warning is shown in `doom doctor`.
2020-09-07 15:34:43 +02:00
Henrik Lissner
4cecb22f37
Merge pull request #3884 from ericdallo/bump-dart
Bump :lang dart
2020-09-05 01:52:32 -04:00
Eric Dallo
b54cf0fe7e
Bump :lang dart
emacs-lsp/lsp-dart@437c548 -> emacs-lsp/lsp-dart@9036e4b
ericdallo/hover.el@6f9ed1a -> ericdallo/hover.el@079efb1
2020-09-02 17:14:11 -03:00
Henrik Lissner
91c1e705e6
checkers/spell: add add/remove word & next/prev error commands
So both spell-fu and flyspell users have a more consistent interface.
2020-09-02 13:58:27 -04:00