Commit graph

10828 commits

Author SHA1 Message Date
Henrik Lissner
c344d40d15
tools/lsp: refactor +lsp-optimization-mode 2020-10-11 20:31:46 -04:00
Henrik Lissner
ebc1e7092d
tools/lsp: restore flycheck-checker fix #3989
Removed in 22b6eaed0.
2020-10-11 20:31:33 -04:00
Henrik Lissner
22b6eaed03
Rethink lsp defaults
+ Allow LSP to prompt to install servers. All this machinary just adds
more confusion for beginners, and at least LSP asks for your permission
before it does it.
+ Reverts lsp-enable-file-watchers and lsp-enable-indentation to their
default (enabled), hopefully to help lsp-java, lsp-dart, and lsp-clojure
users, for whom file-watchers seems to be necessary.
+ Apply GC/IPC optimizations globally, to ensure their reach. By only
setting them buffer-locally we don't have a guarantee that subprocesses
will be affected when the lsp buffer isn't focused.

Closes #3989

Co-authored-by: Eric Dallo <ercdll1337@gmail.com>
2020-10-11 18:32:42 -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
86ce933fd8
Bump :tools
abo-abo/define-word@08c71b1 -> abo-abo/define-word@3af6825
brotzeit/helm-xref@6b4a8bd) -> brotzeit/helm-xref@23f1174)
charignon/github-review@fab440a -> charignon/github-review@e2123cc
cjohansson/emacs-ssh-deploy@1bb2f82 -> cjohansson/emacs-ssh-deploy@cc91b56
editorconfig/editorconfig-emacs@9bc1343 -> editorconfig/editorconfig-emacs@a6c70da
emacs-lsp/dap-mode@4b18543 -> emacs-lsp/dap-mode@400ec52
emacs-lsp/lsp-mode@65034e1 -> emacs-lsp/lsp-mode@fb4c35c
emacsorphanage/quickrun@ce7383c -> emacsorphanage/quickrun@005d269
jacktasia/dumb-jump@0d74b2f -> jacktasia/dumb-jump@fbbe6b0
k1LoW/emacs-ansible@b5ef594 -> k1LoW/emacs-ansible@cf6b8f0
magit/forge@feee7e2 -> magit/forge@031e4f0
magit/magit@321214c -> magit/magit@2fb3bf7
millejoh/emacs-ipython-notebook@99a4718 -> millejoh/emacs-ipython-notebook@1bfb80c
purcell/envrc@1dc5aad -> purcell/envrc@da8e306
realgud/realgud@332d136 -> realgud/realgud@ff66001
tumashu/posframe@7b92a54 -> tumashu/posframe@a99da9f
2020-10-11 16:21:05 -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
3e2c98a0a3
Merge pull request #4073 from saep/bugfix/magit--display-buffer-in-direction-doesnt-respect-magit-display-buffer-noselect
Respect magit-display-buffer-noselect
2020-10-10 23:19:06 -04: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
Henrik Lissner
f6aa50e1bc
Load dap-mode after lsp-mode manually
:after complicates use-package load-order of its keywords, making it
difficult for users to guess how to remove the dap-tooltip-mode :hook.
We'll just do it ourselves.
2020-10-10 13:50:57 -04:00
Sebastian Witte
3a1fd7b282 Respect magit-display-buffer-noselect
This fixes the behavior of e.g. magit-diff-show-or-scroll-down.
When in magit-log-mode, said action should not move focus to the diff
window because it would otherwise behave identical to pressing
magit-show-commit.
2020-10-10 19:50:10 +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
Henrik Lissner
7ca9807213
Merge pull request #4064 from rickyson96/develop
lang/ledger: Add doctor.el for :lang ledger
2020-10-10 02:30:30 -04:00
Brian McGillion
404a856f37 Bump :tools biblio
tmalsburg/helm-bibtex@b14b628 -> tmalsburg/helm-bibtex@12f8809

Signed-off-by: Brian McGillion <brian@ssrc.tii.ae>
2020-10-10 07:40:45 +04:00
Bryan Gilbert
89f709f4a4 Fix ligature documentation typo
Fixes 4061
2020-10-09 15:54:10 -04:00
Ricky Anderson
2f1be297f2 Add doctor.el for :lang ledger 2020-10-10 02:22:18 +07:00
Henrik Lissner
1757dd1700
Bump :editor evil
emacs-evil/evil@1e7aa5b -> emacs-evil/evil@373a57e
redguardtoo/evil-nerd-commenter@87734b9 -> redguardtoo/evil-nerd-commenter@b670f69
emacs-evil/evil-collection@c136589 -> emacs-evil/evil-collection@a21725f
2020-10-09 04:41:45 -04:00
Henrik Lissner
11faeae9a6
Bump :tools lsp
emacs-lsp/lsp-mode@9a79593 -> emacs-lsp/lsp-mode@65034e1

Fixes "LSP :: Error from the Language Server: Request
textDocument/codeAction failed with message: Cannot read property
'codeActions' of undefined (Internal Error)" error with lsp-vetur
2020-10-09 03:56:03 -04:00
Henrik Lissner
0062c03ede
tools/lsp: apply after changing gcmh-high-cons-threshold 2020-10-08 23:43:12 -04:00
Henrik Lissner
77646c5f42
Merge pull request #3994 from akirabaruah/fix-ispell-default-dict
checkers/spell: fix default ispell dict
2020-10-08 14:01:04 -04: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
Henrik Lissner
c5605e9de5
Bump :completion
abo-abo/swiper@9bb6841 -> abo-abo/swiper@b65e401
company-mode/company-mode@4462e7d -> company-mode/company-mode@8c22b58
emacs-helm/helm@d2fbf66 -> emacs-helm/helm@19d2ba9
lewang/flx@17f5c9c -> lewang/flx@05600ff
raxod502/prescient.el@cc289ba -> raxod502/prescient.el@0c5d611
sebastiencs/company-box@d8f71fd -> sebastiencs/company-box@be37a9a
tumashu/ivy-posframe@4474956 -> tumashu/ivy-posframe@1e602a7
tumashu/posframe@7b92a54 -> tumashu/posframe@5696463

Fix #4013 due to company-mode/company-mode#1020
2020-10-07 21:51:10 -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
8284f1035b
Fix fill-column toggle for vanilla users 2020-10-06 14:28:48 -04:00
Henrik Lissner
dbe09f9b43
Fix #4043: correctly load org-msg-mode for mu4e 2020-10-06 14:19:37 -04:00
Henrik Lissner
8afba81b02
Fix #4037: persp-mode failure at daemon startup
Due to upstream changes.
2020-10-06 14:19:36 -04:00
Henrik Lissner
729e8d8f39
Fix #4035: fill-column toggle 2020-10-06 14:19:36 -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
Henrik Lissner
0feacd4ce4
Merge pull request #4032 from gagbo/feature/bepo-ace-window
Feature/bepo ace window
2020-10-06 00:20:17 -04:00
Gerry Agbobada
d44c5863c7
Map evil-window-map to C-é
And add a comment about nobreak-char-display seemingly not working with
pgtk on wayland
2020-10-06 03:07:28 +02:00
Henrik Lissner
64922dd301
Merge pull request #3896 from chzerv/develop
Fix installation instructions for Archlinux in direnv/README.org
2020-10-05 21:06:52 -04:00
Henrik Lissner
426e3c6aa6
Merge pull request #3920 from asymmetric/aspell-tex-config
modules/checkers/spell: remove tex option
2020-10-05 21:04:12 -04:00
Henrik Lissner
30428c9c78
Merge pull request #3954 from ericdallo/bump-dart
Bump dart module and improve keybindings
2020-10-05 21:02:01 -04:00
Gerry Agbobada
15d1626d9b
Revert "[bepo] Map ace window to <leader>éé (from ww)"
This reverts commit f403a05d70.
2020-10-06 02:57:07 +02:00
Henrik Lissner
7baeb20ac9
Refactor set-electric! #4031 2020-10-05 20:55:09 -04:00
Henrik Lissner
81f325f169
Bump :ui doom
hlissner/emacs-solaire-mode@d751c1c -> hlissner/emacs-solaire-mode@c697925

Fix #4023
2020-10-05 20:55:09 -04: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
Gerry Agbobada
f403a05d70
[bepo] Map ace window to <leader>éé (from ww) 2020-10-06 00:02:23 +02:00
Henrik Lissner
ab3237fe82
Merge pull request #4002 from NotUnlikeTheWaves/fix-portal2-quit-message
Add missing 'the' in Portal 2 quit message
2020-10-05 17:31:05 -04:00