Commit Graph

13573 Commits

Author SHA1 Message Date
cf535e42fb Support LiveView templates for Elixir
This was added in fxbois/web-mode#1070
2020-05-29 18:04:37 -06:00
aec94f5bb2 Fix #3228: 'Failed to fetch from upstream' on doom upgrade
Due to git name-rev returning fully qualified refs in some cases.
2020-05-29 19:36:13 -04:00
200fd52b61 Fix invalid-function error due to missing backquote
Mentioned in #3020
2020-05-28 22:01:23 -04:00
e7649daa9f Add lang/emacs-lisp readme #1166 2020-05-28 22:01:23 -04:00
95eb2989dc Minimize custom-set-faces! clobbering doom-load-theme-hook
Evaluating custom-set-faces! calls would add setter functions to
doom-load-theme-hook indefinitely, which could add up each time you M-x
doom/reload. Now it adds them to a subhook, which is reset whenever Doom
is reloaded.
2020-05-28 22:01:23 -04:00
d502c7c06a tools/lsp: minor refactors 2020-05-28 22:01:23 -04:00
92760d91ae Add editorconfig-mode to doom-first-buffer-hook 2020-05-28 22:01:23 -04:00
cf9e2e6463 Fix: ivy-gate counsel-jq 2020-05-28 18:11:11 -05:00
75b6e11f56 Merge pull request #3020 from gagbo/feature/eglot-support
Add support for eglot as LSP client implementation
2020-05-28 15:20:24 -04:00
40e68f2a10 Fix: enable counsel-jq when using ivy
Co-authored-by: gagbo <Gerry Agbobada>
2020-05-28 10:19:16 -05:00
2c158c8b81 Feat: add counsel-jq
Co-authored-by: rushsteve1 <rushsteve1@rushsteve1.us>
2020-05-28 10:14:19 -05:00
dc3c2f9e78 [review] no extension in load! / rename interactive function 2020-05-28 13:13:00 +02:00
0f5c5bb288 Move and map interactive eglot/c++ function 2020-05-28 12:01:35 +02:00
776663cb45 Fix #3217: backspace noops if tab-width=1 2020-05-28 05:51:56 -04:00
c41ae8995b Remove redundant featurep! check 2020-05-28 11:50:24 +02:00
f9d30cbf90 Wrap 'eglot-server-programs usage in after! eglot 2020-05-28 11:49:53 +02:00
f35768af86 Fix loading of flycheck-eglot 2020-05-28 11:19:33 +02:00
718d9a2690 [review] Changes 2020-05-28 11:17:55 +02:00
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
024503b2f4 Add ${...} support to evil-surround in scala
For string interpolation.
2020-05-28 04:40:38 -04:00
44ed98cf18 Merge pull request #3034 from Amatrelan/pass-readme
add tool/pass readme
2020-05-28 03:43:35 -04:00
b5c0005dee add config/literate readme (#3033)
* add config/literate readme

* Fix personal config paths

It also works from $HOME/.config/doom as @tecosaur said.

* fixes
2020-05-28 03:43:01 -04:00
b2c244c94f Merge pull request #3241 from flatwhatson/lookup-ielm
Add lookup handlers for IELM
2020-05-28 03:38:51 -04:00
da1117e7f0 [doc] Add +eglot flag in docs/modules 2020-05-28 09:34:19 +02:00
004ca6cf40 [review] Address eglot-flymake-backend call readablity 2020-05-28 09:34:19 +02:00
98b3153df2 [review] Fix emacs bindings 2020-05-28 09:34:18 +02:00
bde772103d [eglot] Add emacs bindings 2020-05-28 09:34:18 +02:00
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
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
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
595c055953 Add lookup handlers for IELM 2020-05-28 11:53:48 +10:00
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
d4d8c48265 Refactor core-modules
- Update comments & docstrings
- Remove unnecessary compile-time evaluation (we're not using any of
  that config at compile time within that file anyway).
2020-05-27 16:11:59 -04:00
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
ba817cb1ff Speed up bin/doom by staving off GC
This effectively halves the runtime of 'doom sync' and 'doom doctor',
and shaves 5-10% off other commands.
2020-05-27 02:55:22 -04:00
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
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
ee5d0a8781 Merge pull request #3227 from alarsyo/fix-org-agenda-bindings
Restore new org-agenda bindings
2020-05-26 16:28:59 -04:00
0af3f47b9a New bindings deadline/schedule in org-agenda
Following 42fd3d0
2020-05-26 22:11:58 +02:00
1434685a7d Restore new org-agenda clock bindings
These were reverted during the rebase in #3043.
2020-05-26 22:08:11 +02:00
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
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
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
cb016f21be Merge pull request #3226 from tudurom/develop
Fix +format/region when formatting with LSP
2020-05-26 12:48:17 -04:00
649052337b fix +format/region when formatting with LSP 2020-05-26 18:16:23 +03:00
ca0dbc798d Use shorter seq.el alternatives 2020-05-26 04:18:20 -04:00
22c7eac897 Add doom-autoloads-files option
So users can scan additional files for autoloads during 'doom sync'.
2020-05-26 04:16:42 -04:00
f4e6d36574 Move 'restart Emacs to see changes' message to 'doom sync'
It isn't the autoloads generator's responsibility to do this. The
"changes" referred to consist of more than just the regenerated
autoloads file.
2020-05-26 04:09:11 -04:00
10a4e6570d Fix 'doom env' refusing arguments/options 2020-05-26 03:21:27 -04:00
b6cc110f4c Fix 'wrong-type-arg' error on 'doom upgrade' 2020-05-26 03:12:35 -04:00