Commit graph

8280 commits

Author SHA1 Message Date
Gerry Agbobada
0f5c5bb288
Move and map interactive eglot/c++ function 2020-05-28 12:01:35 +02:00
Gerry Agbobada
c41ae8995b
Remove redundant featurep! check 2020-05-28 11:50:24 +02:00
Gerry Agbobada
f9d30cbf90
Wrap 'eglot-server-programs usage in after! eglot 2020-05-28 11:49:53 +02:00
Gerry Agbobada
f35768af86
Fix loading of flycheck-eglot 2020-05-28 11:19:33 +02:00
Gerry Agbobada
718d9a2690
[review] Changes 2020-05-28 11:17:55 +02:00
Gerry Agbobada
6a163fd5c1
[review] create +lsp.el and +eglot.el files
This means we can remove a lot of `:unless (featurep! +eglot)`
2020-05-28 11:17:55 +02:00
Gerry Agbobada
004ca6cf40
[review] Address eglot-flymake-backend call readablity 2020-05-28 09:34:19 +02:00
Gerry Agbobada
98b3153df2
[review] Fix emacs bindings 2020-05-28 09:34:18 +02:00
Gerry Agbobada
bde772103d
[eglot] Add emacs bindings 2020-05-28 09:34:18 +02:00
Gerry Agbobada
3e5b7cce3f
[eglot] Add support for eglot lsp client in emacs
- Update README
- Add eglot-specifics to cc, rs, py, hs
  removing unused lsp-mode packages when eglot is active
- Add eglot-specific bindings
- Add doctor warnings for debugger +lsp and +peek
- Add eglot-backed lookup-handlers
- Add flycheck checker using eglot for :checkers
  syntax users (using flycheck/flycheck#1676 and
  flycheck/flycheck#1592 discussion).
  This implementation is based on @marsam code, and uses recent
  Flycheck development in order to make the code smaller and
  easier to maintain.
2020-05-28 09:34:10 +02:00
Henrik Lissner
f2a3dee7ff
Bump :lang latex
TheBB/company-reftex@275ef70 -> TheBB/company-reftex@275ef70
alexeyr/company-auctex@48c42c5 -> alexeyr/company-auctex@48c42c5
cdominik/cdlatex@a5cb624 -> cdominik/cdlatex@480387b
emacs-straight/adaptive-wrap@1810c0e -> emacs-straight/adaptive-wrap@1810c0e
emacs-straight/auctex@fafa28d -> emacs-straight/auctex@b233945
jsinglet/latex-preview-pane@5297668 -> jsinglet/latex-preview-pane@5297668
tom-tan/auctex-latexmk@4d35352 -> tom-tan/auctex-latexmk@4d35352
vspinu/company-math@a796053 -> vspinu/company-math@a796053
2020-05-28 03:02:24 -04:00
Henrik Lissner
15f6a6cdd9
Bump :ui
Alexander-Miller/treemacs@5c01829 -> Alexander-Miller/treemacs@327bf63
abo-abo/hydra@16fa8d1 -> abo-abo/hydra@87873d7
dimitri/switch-window@204f9fc -> dimitri/switch-window@8710f63
ema2159/centaur-tabs@57afd81 -> ema2159/centaur-tabs@0e003e3
hlissner/emacs-doom-themes@a130617 -> hlissner/emacs-doom-themes@f569b5a
jabranham/mixed-pitch@734fbdf -> jabranham/mixed-pitch@1cad46f
joostkremers/writeroom-mode@7f7acde -> joostkremers/writeroom-mode@8a226a3
jrblevin/deft@f54e8a6 -> jrblevin/deft@fca9ea0
2020-05-28 02:37:18 -04:00
Henrik Lissner
a9bf0b8985
Add cmd!, cmd!!, cmds! convenience macros
It's kind of silly that our command lambda macros (λ! and λ!!) need a
snippet, special key sequence or copy-paste to insert, so in the spirit
of fn! -- and to make sure they take up less space than `lambda!` --
I've added `cmd!` and `cmd!!` aliases. `lambda!` and `lambda!!` are now
deprecated. λ! and λ!! will remain.

I've also added `cmds!` as a convenience wrapper around
general-predicate-dispatch.
2020-05-27 18:29:35 -04:00
Henrik Lissner
fa55a0889a
Enable global-anzu-mode after evil-anzu loads
evil-anzu depends on anzu-mode being enabled to update its results, so
we enable global-anzu-mode when evil-search (or isearch) is first
invoked.
2020-05-27 14:06:17 -04:00
Henrik Lissner
7ed96590e6
Fix #3232: wrong-type-argument arrayp error on org-journal
Because both org-journal-is-journal and +org--journal-resolve-symlinks-a
assumed buffer-file-name is always non-nil.
2020-05-26 21:45:31 -04:00
Henrik Lissner
f5e120eefe
Fix #3219: icon repetition after doom/reload
Due to faulty member detection (`cl-pushnew` uses `eql` by default,
which can't compare compound data structures).
2020-05-26 20:32:55 -04:00
Antoine Martin
0af3f47b9a New bindings deadline/schedule in org-agenda
Following 42fd3d0
2020-05-26 22:11:58 +02:00
Antoine Martin
1434685a7d Restore new org-agenda clock bindings
These were reverted during the rebase in #3043.
2020-05-26 22:08:11 +02:00
Henrik Lissner
77a4e8f8a7
Fix switch-project completion defaulting to current project
Affects doom/browse-in-other-project, doom/find-file-in-other-project,
+default/search-other-project and
+default/search-project-for-symbol-at-point.

When performing a text or file search in "another project", prior to
this update the current project would be the first highlighted
candidate, which doesn't make much sense when you're invoking a command
for searching *other* projects.
2020-05-26 14:06:19 -04:00
Henrik Lissner
8d75d72eb0
Fix wrong-number-of-args error on loading mu4e
Because mu4e-attachment-dir is expected to take two arguments (if it's a
function).
2020-05-26 14:06:19 -04:00
Henrik Lissner
2d3eab7a35
Make C-c {h,j,k,l} eshell keybinds evil-only
The h,j,k,l paradigm is distinctly vim's, and should not be bound for
vanilla users, so now it's only available to evil users.

Also, since C-c l is the vanilla localleader prefix, this causes "Key
sequence C-c l b starts with non-prefix key C-c l" errors.

Fixes #3224
2020-05-26 14:06:19 -04:00
Tudor Roman
649052337b
fix +format/region when formatting with LSP 2020-05-26 18:16:23 +03:00
Henrik Lissner
101cd5019f
Bump :emacs undo
ideasman42/emacs-undo-fu@bcf7f92 -> ideasman42/emacs-undo-fu@46de023

bcf7f92 no longer exists (probably force pushed).
2020-05-26 01:39:52 -04:00
Henrik Lissner
e1f73bd7cb
Fix void-function +literate-tangle-h on saving org files 2020-05-26 01:00:49 -04:00
Henrik Lissner
07714a12d4
Fix wrong-type-argument: sequencep 45 opening dired 2020-05-25 22:16:11 -04:00
Henrik Lissner
d1fcbf244b
doom/toggle-debug-mode -> doom-debug-mode 2020-05-25 20:18:36 -04:00
Henrik Lissner
1febb5a04e
lang/org: refactor +journal submodule 2020-05-25 20:18:35 -04:00
Henrik Lissner
1916d26c75
Fix void-function +literate-tangle 2020-05-25 18:18:10 -04:00
Henrik Lissner
16ecfd3e4f
Bump :lang org
abo-abo/org-download@d248fcb -> abo-abo/org-download@8e12cf0
bastibe/org-journal@524009b -> bastibe/org-journal@a3ff9ce
emacs-straight/org-mode@9bc0cc7 -> emacs-straight/org-mode@5454312
hlissner/evil-org-mode@9cf661a -> hlissner/evil-org-mode@2e9c4a2
org-roam/org-roam@e3d101f -> org-roam/org-roam@ea6bd21

org-journal introduces some breaking changes (by shifting away from
auto-mode-alist to magic-mode-alist for detecting journal files), and
had to be accommodated.

Fixes #3199
2020-05-25 18:17:38 -04:00
Henrik Lissner
e4d508b47f
Merge pull request #3208 from webframp/vc-readme
Add emacs/vc readme
2020-05-25 16:52:09 -04:00
Henrik Lissner
8c3f24f14c
Disable lsp-auto-guess-root
This was too confusing for beginners. May as well have LSP prompt or a
project than sometimes guess incorrectly.

Closes #3212, #3075
2020-05-25 16:48:42 -04:00
Henrik Lissner
20cddb3565
config/literate: fix tangling on 'doom sync' 2020-05-25 16:03:34 -04:00
Henrik Lissner
6387f26a5d
ui/modeline: mention "cut off modeline" issue in readme
Plus workarounds.
2020-05-25 15:55:29 -04:00
Henrik Lissner
3a38fc633c
Change doom-{interactive,debug}-mode suffix to -p
Because these are not really modes.

Also makes `doom-debug-mode` an actual (global) minor mode.
2020-05-25 03:43:40 -04:00
Henrik Lissner
4f46140226
Bump :lang emacs-lisp
jorgenschaefer/emacs-buttercup@532d082 -> jorgenschaefer/emacs-buttercup@e71a40f
2020-05-25 03:43:40 -04:00
Henrik Lissner
ada4110730
Refactor :lang emacs-lisp 2020-05-25 03:43:40 -04:00
Henrik Lissner
7ca20f158b
Resolve mu4e-attachment-dir from mu4e-root-maildir
Closes #3133
2020-05-25 03:43:40 -04:00
Henrik Lissner
b625a54db6
Add -v switch to dired-listing-switches (for GNU ls)
Natural sorting of ls file list (when it comes to numbers/versions in
file names).
2020-05-25 03:43:40 -04:00
Henrik Lissner
c690ed600a
lang/swift: add pair rule for string interpolation 2020-05-25 03:43:40 -04:00
Henrik Lissner
0252f4f36f
Refactor :ui modeline +light 2020-05-25 03:43:40 -04:00
Henrik Lissner
e00bfc7612
Minor refactors & reformatting 2020-05-25 03:43:40 -04:00
Marty Buchaus
ef9d9a89d0
Add Tree Subtree function to bindings (#3043) 2020-05-24 22:54:37 -04:00
Henrik Lissner
088d0d14ea
Merge pull request #3177 from otavioschwanck/feature/better-rake
use default search on rake tasks on :ruby lang
2020-05-24 22:53:38 -04:00
Henrik Lissner
9ea05c4dfb
Merge pull request #3180 from otavioschwanck/feature/better-popup-rspec
better popup for rspec
2020-05-24 22:52:25 -04:00
Henrik Lissner
e1040095b5
Merge pull request #3183 from marcus-crane/update-org-roam-links
Update org-roam hyperlinks in org/README.org
2020-05-24 22:52:03 -04:00
Henrik Lissner
121710f779
Merge pull request #3196 from howsiwei/develop
lang/org: Support option in custom org links
2020-05-24 22:51:47 -04:00
Henrik Lissner
3f5600a2e8
Merge pull request #3207 from paulapatience/bugfix/lang-typo
lang/common-lisp: fix typo
2020-05-24 22:51:21 -04:00
Henrik Lissner
11ce7cdaf2
Merge pull request #3210 from panchoh/develop
Fix inaccuracy in markdown docs
2020-05-24 22:50:41 -04:00
Henrik Lissner
a9316525c4
Backport variadic setq-local from Emacs 27 2020-05-24 16:45:55 -04:00
Henrik Lissner
830e1289aa
Bind SPC g G -> magit-status-here
And recenter after invoking it.
2020-05-24 16:32:19 -04:00