Commit graph

3185 commits

Author SHA1 Message Date
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
Henrik Lissner
5de263f6a4
Bump :lang common-lisp
joaotavora/sly@155cb06 -> joaotavora/sly@34239bc

And chain sly packages together, so disabling sly will disable them all.
2020-09-02 13:54:12 -04:00
Henrik Lissner
73565f1041
Only expand emmet snippets if at word boundary
Makes emmet a little less aggressive on TAB.

Addresses #3383
2020-09-01 19:35:54 -04:00
Henrik Lissner
f15b36e818
Merge pull request #3864 from akheron/develop
Upgrade tide, enable xref-tide-xref-backend
2020-09-01 06:59:07 -04:00
Petri Lehtinen
ecc6fcd8d5 Bump :lang javascript
ananthakumaran/tide@f0b6dac -> ananthakumaran/tide@fa617f5

New version of tide.el introduces xref backend.
2020-09-01 13:53:07 +03:00
Henrik Lissner
5f47169c0e
Load ccls.el after lsp-mode
lsp-mode is the package's entry point now, not lsp.
2020-08-31 22:54:44 -04:00
Henrik Lissner
aa06309067
lang/markdown: fontify rust blocks correctly 2020-08-31 22:02:54 -04:00
Diego Zamboni
723583e8d7
Automatically download reveal.js and use local copy, default to v4 (#3846)
* Automatically download reveal.js upgrade to v4

The +present option now automatically checks out the reveal.js
repository and configures org-re-reveal to use it. It also now uses
reveal.js 4 instead of 3.9.2.

* Changed :init to :config
2020-08-27 01:15:14 -04:00
Henrik Lissner
518c97a2ac
Rename {if,when}! -> eval-{if,when}!
To better represent its purpose, as extensions to Emacs' eval-when*
API (for control flow at compile time).
2020-08-27 01:10:08 -04:00
Henrik Lissner
2df1eb7a76
Fix #2972: disable eldoc for plantuml org blocks 2020-08-26 13:55:09 -04:00
Henrik Lissner
1c99aed0c0
Add +python-{ipython,jupyter}-command vars for REPLs 2020-08-25 21:22:56 -04:00
Henrik Lissner
ce2cabf07e
Autoload org-download-clipboard #3830 2020-08-25 06:07:47 -04:00
Henrik Lissner
bdbeb8f507
lang/org: SPC m a p -> org-download-clipboard
And SPC m a P -> org-download-yank for consistency.

p meaning paste.

Closes #3830
2020-08-25 05:50:09 -04:00
Henrik Lissner
1884828d22
Add :shadow parameter to package!
For to make replacing built-in packages easier.
2020-08-24 22:27:40 -04:00
Henrik Lissner
e3750dbf66
checkers/spell: add +flyspell flag
spell-fu lacks support for multiple dictionaries, affix expansion, and
many non-English dictionaries, so I've added back flyspell support to
the spell module, but opt-in, because it is still the significantly
slower option and spell-fu may support them one day.

If not, tlikonen/wcheck-mode is another alternative to consider.

Fixes #3813
2020-08-23 18:48:50 -04:00
Henrik Lissner
00e9d8335c
lang/rust: update readme 2020-08-23 17:27:32 -04:00
Henrik Lissner
5918d2b5c8
Merge pull request #3805 from sarna/develop
Fix bindings for racket-mode
2020-08-23 14:10:46 -04:00
Henrik Lissner
5a4823500a
Bump :lang cc
MaskRay/emacs-ccls@44f1fb3 -> MaskRay/emacs-ccls@675a570

A force push upstream caused MaskRay/emacs-ccls@44f1fb3 to be a dangling
and inaccessible commit.
2020-08-22 15:59:01 -04:00