Commit graph

16869 commits

Author SHA1 Message Date
Henrik Lissner
3ccc12c16b Add init.example.el one-liner for :tools lsp 2021-07-06 02:32:38 -04:00
Henrik Lissner
19edcb9314 Change doom-version to 3.0.0-alpha
The future is now.
2021-07-06 02:32:38 -04:00
Henrik Lissner
9198b03807 Bump :core
bbatsov/projectile@5e6fdab -> bbatsov/projectile@da08a91
domtronn/all-the-icons.el@facbde4 -> domtronn/all-the-icons.el@9d97c07
justbur/emacs-which-key@fc29864 -> justbur/emacs-which-key@27d9fec
raxod502/straight.el@915707f -> raxod502/straight.el@b45dd00
2021-07-06 02:32:38 -04:00
Henrik Lissner
38bc1ab81a Bump :tools pdf
vedang/pdf-tools@d262cf9 -> vedang/pdf-tools@5f77dae

Fixes #4989: remove local hacks for retina support in favor of upstream
fixes.
2021-07-06 02:32:26 -04:00
Henrik Lissner
044a1a5f2b Drop Emacs 26.x support
Emacs 27.x has been the stable version of Emacs for nearly a year, and
introduces a litany of bugfixes, performance, and quality-of-life
improvements that significantly reduce Doom's maintenance burden (like
XDG support, early-init.el, image manipulation without imagemagick, a
native JSON library, harfbuzz support, pdumper, and others).

With so many big changes on Doom's horizon, I like having one less (big)
thing to worry about.

Also reverts bb677cf7a (#5232) as it is no longer needed.
2021-07-06 02:31:52 -04:00
Henrik Lissner
ff2d56794e Don't activate sly-mode in lisp-mode derived modes
Fixes some issues (like indentation or unrelated sly-mode warnings) in
lisp-like major modes (like fennel-mode).
2021-07-06 02:31:22 -04:00
ErnestDong
8c3a83526b Filter directories when purging straight repos
in macOS there is always an annoying ".DS_Store" in straight/repos,
which breaks `doom purge`
2021-07-05 15:06:54 +08:00
Patrick Wulfe
c091b27e4a Made changes specified in pull request 2021-07-04 18:44:01 -07:00
Henrik Lissner
7afb09da73
Merge pull request #5232 from samrjack/fix-pdf-blocking-issue
Prevent extra variable from being passed in macro.
2021-07-04 19:18:15 -04:00
Samuel Jackson
bb677cf7a5 Prevent extra variable from being passed in macro.
In the PDF module, there is a macro that is used to prevent the
file-too-big prompt for PDFs since they're always too big. However, this
macro has an extra variable listed that then gets passed on to the
wrapped function and causes an error if the function doesn't support the
extra variable.

This fix simply checks if the extra value is present or not and only
calls the wrapped function with it if is actually present. After all,
the variable will still be nil even if nil isn't passed.
2021-07-04 14:59:29 -07:00
Patrick Wulfe
2546883543 The dart config was setting the 'flutter-run-or-hot-reload' keybind with init, so if you changed the localleader in your settings, it would stay as SPC m rather than what localleader was mapped to 2021-07-03 12:23:05 -07:00
Leo Okawa Ericson
7b3b74c2ad Remove workaround for upstream lispyville PR
https://github.com/noctuid/lispyville/pull/297 was merged which makes
the changes from https://github.com/hlissner/doom-emacs/pull/5101 obsolete.
2021-07-03 18:47:52 +02:00
Itai Y. Efrat
b3dfd4758d don't explicitly set projectile-completion-system
The default value is `'auto`, which handles the detection of the active
completion system, see the definition of `projectile-completing-read`.
2021-07-03 15:20:59 +03:00
Connor Braa
7f87870099 Bump flycheck-kotlin
whirm/flycheck-kotlin@5104ee9a -> whirm/flycheck-kotlin@bf1b398b

flycheck-kotlin: support newer versions of ktlint
2021-07-02 13:17:01 -07:00
pqitr
8f89e58c3a
remove duplicate '+' from kotlin +lsp 2021-06-25 23:34:42 +02:00
mjkalyan
2d53f12f1c
getting_started.org: Gentoo xft and gui flags
As suggested by @TheGreatMcPain here: https://github.com/hlissner/doom-emacs/pull/5165#issuecomment-863747913
2021-06-24 05:41:38 -06:00
meltinglava
3eac1f4e8a removed unused use in "file-template rust main" 2021-06-23 22:52:27 +02:00
Itai Y. Efrat
033851556a lang/lua: document fennel support in readme 2021-06-21 12:27:57 +03:00
Ralf Beckmann
012b759e98 Fix #5128: No format-on-save by lsp-formatters
A call to `format-all--formatter-executable` with the formatter being
equal to `'lsp` or `'eglot` will return `nil`. Therefore, `funcall` was
never called in those cases.
2021-06-14 23:52:16 +02:00
Gerry Agbobada
cbfd2fadc0
[:input layout bepo] Remove "W" convenience remap
`W` was used to emulate `C-w C-w`, which is useful to quickly change windows
most of the time. But this currently conflicts with edebug evil-collection bindings.
(gives `Key sequence W W starts with non-prefix key W`).

Better to leave the key alone, avoid error messages altogether, and let users redefine
the binding if they want to.
2021-06-13 13:33:20 +02:00
mjkalyan
cdf7846e3c
getting_started.org: Gentoo Linux install guide 2021-06-09 21:00:56 -06:00
Itai Y. Efrat
5c54ae1329 lang/json/doctor: only check for jq if ivy is on
since `counsel-jq` is only relevant for ivy
2021-06-09 15:23:58 +03:00
Leo Okawa Ericson
db83e94bad Remove dependence on company for fish and bash completion
Bash and fish completion work without company, e.g. when the user uses
the minibuffer for completion.
2021-06-09 10:27:01 +02:00
Yoav Marco
9478a6a901 lang/latex +fold: fix error when yas-snippet-{beg,end} are nil 2021-06-08 16:23:02 +03:00
Henrik Lissner
2731685095
Merge pull request #5152 from cnr/org-tree-slide-hide-blocks
Use org-tree-slide-play-hook to hide blocks
2021-06-07 21:16:29 -04:00
Henrik Lissner
c70478e512
Merge pull request #5153 from daanturo/web-for-ejs
:lang web: Recognize .ejs files as web-mode
2021-06-07 21:16:04 -04:00
Henrik Lissner
9bbc0699ae app/calendar: remove non-existent autoload
my-open-calendar is in the README, but isn't actually defined.
2021-06-07 21:06:17 -04:00
Henrik Lissner
335b6f9abb Bump :ui doom
hlissner/emacs-doom-themes@13d2377 -> hlissner/emacs-doom-themes@b2c0ea0
hlissner/emacs-solaire-mode@186f97d -> hlissner/emacs-solaire-mode@2298fd8
2021-06-07 21:05:25 -04:00
Henrik Lissner
cb574f5d42 cli: show Emacs version at the start of output 2021-06-07 21:04:46 -04:00
Henrik Lissner
c34ed0d194 Fix #5146: errors when adjusting font size live 2021-06-07 21:03:37 -04:00
Daanturo
3ebda88aec :lang web: Recognize .ejs files as web-mode 2021-06-08 02:59:30 +07:00
Connor James
87abb63dd2 Use org-tree-slide-play-hook to hide blocks 2021-06-07 09:56:37 -07:00
Henrik Lissner
b2376a847f Fix "Unrecognized switch -E" from doom/reload
The -E switch snuck in in c92f48675, but hasn't been introduced yet.
2021-06-06 20:36:55 -04:00
Henrik Lissner
751569f545 Fix +tabs:previous-or-goto typo 2021-06-06 17:49:26 -04:00
Henrik Lissner
50e71ce765 Revert 54067455e: fix ligatures
To fix ligatures, at least until I get around to merging #5082
2021-06-06 17:36:23 -04:00
Henrik Lissner
c92f486750 Don't reload envvar file on doom/reload
Might address 'Device 1 not a termcap terminal device' errors
2021-06-06 11:52:49 -04:00
Henrik Lissner
47bce8856d Fix gr in compilation buffers (for evil users) 2021-06-06 01:19:49 -04:00
Henrik Lissner
ea80826fd2 gt/gT = add goto Nth tab behavior
As it does in vim.
2021-06-05 14:24:17 -04:00
Henrik Lissner
a2871e68ed Warn about :size in doom-unicode-font docstring 2021-06-05 13:12:00 -04:00
Henrik Lissner
60b595321e Lazy-load yasnippet harder for faster first-file load time
+ Rather than waiting for the first "interactive" major mode to be
  visited to activate yas-minor-mode, we wait until the first time the
  user invokes a snippet command to activate yas-global-mode.
+ yas-reload-all is one of the bottlenecks when loading a file for the
  first time. Deferring it further should help with this.
+ yas-global-mode reaches more major modes than our former list of
  hooks (fixes #5140).

Closes #5140
2021-06-05 13:12:00 -04:00
Henrik Lissner
5038ba9826
Merge pull request #5142 from sei40kr/java-file-templates
lang/java: Add file templates
2021-06-05 12:33:08 -04:00
Seong Yong-ju
63cc08be98 lang/java: Add file templates
- `__annotation-type`
- `__enum`
- `__interface`
- `__record`
- `__` → `__class` (rename)
2021-06-05 23:21:53 +09:00
Henrik Lissner
9fb96f9eeb Fix 'setting-constant enable-multibyte-characters' error
Regression caused by 78dde6efd.

Mentioned in #5133
2021-06-04 22:45:36 -04:00
Henrik Lissner
78dde6efdd Fix #5133: don't kill LSP after reformatting
This happened because LSP hooks on kill-buffer-hook (and possibly
others) caused our temporary formatting buffer to talk to LSP as if it
were the original buffer. When the temp buffer was cleaned up, LSP
assumed the original buffer had been closed. No more!

In fact, to avoid similar issues, let's avoid any complex functionality
in hooks in this temp buffer.
2021-06-04 22:22:57 -04:00
Henrik Lissner
2d76bdceb8 Bump straight
raxod502/straight.el@0d9813a -> raxod502/straight.el@915707f

Includes hotfix for raxod502/straight.el#782
2021-06-04 18:39:56 -04:00
Henrik Lissner
68b422c786 editor/format: redesign
This isn't the apheleia rewrite, just a redesign to fix the module's
current issues with its +onsave feature.

+ Rethinks how the formatter dispatches to lsp/eglot's formatter.
+ Stops format-all from being too imposing with its warnings.
+ Relies more on format-all-mode to control formatting-on-save.
+ Sidestep +format-buffer-a hackery when using lsp/eglot formatters.

Fixes #5121
Fixes #5128
Fixes #5133
2021-06-04 16:15:29 -04:00
Henrik Lissner
99fbdb1092 lang/sh: make shfmt indent-style aware
Fixes #2905
2021-06-04 16:15:17 -04:00
Henrik Lissner
883a109a7a Fix "Couldn't find project root" error on +ivy/compile 2021-06-04 14:50:45 -04:00
Henrik Lissner
14326d6704
Merge pull request #5110 from fosskers/colin/irc-libera
app/irc: Libera.Chat
2021-06-04 14:21:34 -04:00
Henrik Lissner
db020f67c6
Merge pull request #5111 from destroyer449/flycheck_documentation
Added Flycheck documentation
2021-06-04 14:21:15 -04:00