Commit graph

14466 commits

Author SHA1 Message Date
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
dc50c6bae3
Bump :completion ivy
tumashu/ivy-posframe@1e602a7 -> tumashu/ivy-posframe@b4fed55

Fixes #4058, due to tumashu/ivy-posframe@d16fbb0
2020-10-11 20:36:44 -04:00
Henrik Lissner
290deb87f3
Bump :emacs
ideasman42/emacs-undo-fu-session@e2043f8 -> ideasman42/emacs-undo-fu-session@5135b5c
magit/magit@321214c -> magit/magit@2fb3bf7
rmuslimov/browse-at-remote@6aecae4 -> rmuslimov/browse-at-remote@fadf99d
2020-10-11 20:35:31 -04:00
Henrik Lissner
d9683d1148
Fix #4074: map! with meta/hyper modifier prefixes 2020-10-11 20:31:46 -04:00
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
db07304c71
Don't enable explain-pause-mode at startup
When starting Emacs in debug mode, explain-pause-mode is enabled. This
pulls in other packages with it, which can taint results when testing
package load order. Also, explain-pause-mode is for measuring pauses
during interactive use, it isn't very useful for startup benchmarking.

So we only toggle it if doom-debug-mode is toggled interactively.
2020-10-11 16:41:07 -04:00
Henrik Lissner
c59ae5d172
Stop ws-butler from corrupting undo history #4071 2020-10-11 16:41:07 -04:00
Henrik Lissner
3f24fc3737
regexp-quote comp blacklist entries 2020-10-11 16:41:05 -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
8a45b4671e
Bump :core
Fanael/rainbow-delimiters@5125f4e -> Fanael/rainbow-delimiters@f43d48a
Fuco1/smartparens@555626a -> Fuco1/smartparens@c59bfef
Wilfred/helpful@c0662aa -> Wilfred/helpful@1671e1d
bbatsov/projectile@46d2010 -> bbatsov/projectile@3670ebe
domtronn/all-the-icons.el@8c02280 -> domtronn/all-the-icons.el@6917b08
justbur/emacs-which-key@e48e190 -> justbur/emacs-which-key@ae59b7e
koral/gcmh@b1bde50 -> koral/gcmh@84c43a4
2020-10-11 16:22:13 -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
033cb48006
Fix void-variable comp-eln-load-path 2020-10-11 15:53:37 -04:00
Henrik Lissner
9d4951d8b8
Merge pull request #4047 from flatwhatson/deferred-aot
Improvements to native-comp support
2020-10-11 15:43:37 -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
Henrik Lissner
2bf9727a9f
Merge pull request #4075 from gagbo/patch-6
[:lang cc] Fix list in call for cpu count command
2020-10-11 15:01:24 -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
Henrik Lissner
8fdfc8d633
Merge pull request #4072 from acristoffers/patch-1
Bump :lang latex
2020-10-10 12:54:04 -04: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
Henrik Lissner
bf544eb700
Merge pull request #4069 from brianmcgillion/bump-biblio
Bump :tools biblio
2020-10-10 02:29:51 -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
Henrik Lissner
7833cee77b
Merge pull request #4067 from rgrinberg/search-compressed
Search compressed .el files in load history
2020-10-09 18:34:14 -04:00
Rudi Grinberg
b52072ec90 Search compressed .el files in load history
On many installations, the .el files that are builtin to emacs are
compressed. We should search these as well.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-10-09 15:22:04 -07:00
Henrik Lissner
739fb50b6c
Merge pull request #4063 from gilbertw1/ligature-doc-fix
Fix ligature documentation typo
2020-10-09 18:14:22 -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
Andrew Whatson
2e07a85590 Native-compile everything on load-path
Add an extra pass to `doom build` to queue native compilation of all
packages on `load-path`. This ensures that all core and site Elisp
packages are actually native-compiled, even on "fast boot" builds.

Add `.local/autolads.el` to the blacklist as native-compiling this file
succeeds, but prevents emacs from starting up.

Revise the evil-collection-vterm blacklist entry to use a more efficient
regex.

Fix a bug where an updated .error file wasn't always written, causing
spurious rebuilds.
2020-10-09 09:34:34 +10:00
Andrew Whatson
1d0f1575aa Remove comp-eln-load-path injection hack
This was fixed upstream, so comp-eln-load-path is now passed to async
compilation workers.
2020-10-09 09:34:34 +10:00
Andrew Whatson
30140021de Export comp-deferred-compilation-black-list via autoloads
The latest straight.el adds `:no-native-compile` packages to the
compilation blacklist. We export the build-time blacklist via autoloads
so that it works as expected to prevent native compilation at runtime.
2020-10-09 09:34:23 +10:00
Andrew Whatson
89c464ddf7 Bump straight.el
raxod502/straight.el@0c7c7571 -> raxod502/straight.el@728ea18e
2020-10-09 09:29:39 +10:00
Henrik Lissner
86cd497bb5
Don't print ignored/whitelisted envvars on doom env
Except in debug mode.
2020-10-08 17:07:36 -04:00
Henrik Lissner
9edcdd0633
Mention supported envvars in 'doom help' 2020-10-08 17:07:36 -04:00
Henrik Lissner
8ba2f15c71
Merge pull request #4056 from gilbertw1/better-jumper-bug-fix
Pin new version of `better-jumper`. Fixes #4050
2020-10-08 16:39:45 -04:00
Bryan Gilbert
17c9976bac Bump better-jumper
gilbertw1/better-jumper@6d24003 ->
gilbertw1/better-jumper@fe548d2

Fixes #4050, see gilbertw1/better-jumper#5
2020-10-08 16:35:47 -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