Commit Graph

10034 Commits

Author SHA1 Message Date
a1c80a5dcd Merge pull request #5203 from bersace/bats
Define sh-mode for bats files
2021-07-08 17:38:40 -04:00
1a96f5b002 Fix #5176: don't prompt on gt/gT (tab switch) 2021-07-08 15:24:18 -04:00
6438172e74 Fix #5224: void-function error on +vc/* commands 2021-07-08 15:11:39 -04:00
459eba8fe0 Merge pull request #5214 from cwlbraa/bump-flycheck-kotlin
bump flycheck-kotlin to support newer ktlint
2021-07-08 14:15:48 -04:00
5ed4cbf6f2 Merge pull request #5230 from PatrickWulfe/flutter-localleader-binding-fix
The dart config was setting the 'flutter-run-or-hot-reload' keybind w…
2021-07-08 14:13:26 -04:00
6b1b0b6dde Merge pull request #5227 from iyefrat/projectile
don't explicitly set `projectile-completion-system`
2021-07-08 14:11:14 -04:00
80db3110a5 Made changes specified in pull request 2021-07-08 10:16:42 -07:00
ef84fce68c Define sh-mode for bats files
bats is a superset of shell script for writing automated tests exected
with TAP. sh-mode works very well with bats files.
2021-07-08 11:16:38 +02:00
04eb44a610 tools/pass: remove auth-source-pass recipe
A sufficiently up-to-date version of this package is built into Emacs
27.1+. Since we dropped 26.x support in 044a1a5f2 this is no longer
needed.

Mentioned in https://discourse.doomemacs.org/t/1180
2021-07-08 00:29:32 -04:00
400fa0836d editor/evil: update disable instructions in readme
Fixes #5242
2021-07-07 12:05:15 -04:00
74fc7ae664 Fix command to show git log of current buffer file
Currently <kbd>SPC g L</kbd> runs `magit-log` which opens a context
window for git log with an option selected that limits the log to the
file open in buffer. The user then has to press <kbd>l</kbd> to actually
see the log. The same result can be achieved by calling
`magit-log-buffer-file` instead
2021-07-07 03:33:13 +05:30
7925759b8e Set the lsp-ui-sideline-actions-icon to the default
When Emacs 26.x support was in place this was originally:

```elisp
lsp-ui-sideline-actions-icon (if EMACS27+ lsp-ui-sideline-actions-icon-default)
```

But when it was removed it became:

```elisp
lsp-ui-sideline-actions-icon t
```

The docs for lsp-ui-sideline-actions-icon say:

```
Image file for actions.  It must be a png file.
```

Setting this to `t` results in a whole lot of these messages:

```
[lsp-ui-sideline]: Error with actions icon: (error Invalid image specification)
```

So the solution seems to me to be to set it to:

```elisp
lsp-ui-sideline-actions-icon lsp-ui-sideline-actions-icon-default
```

I've set it in my emacs and it seems to work.
2021-07-06 13:46:53 -05:00
2d2246d7ca term/eshell: alias ff = find-file-other-window
The old alias was redundant with "f"
2021-07-06 02:32:38 -04:00
6a23c6142b tools/direnv: refactor
Our advice is no longer needed, now that envrc provides
envrc-propagate-environment. We also cache the executable path (benefits
TRAMP users, in particular).
2021-07-06 02:32:38 -04:00
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
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
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
c091b27e4a Made changes specified in pull request 2021-07-04 18:44:01 -07:00
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
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
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
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
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
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
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
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
3ebda88aec :lang web: Recognize .ejs files as web-mode 2021-06-08 02:59:30 +07:00
87abb63dd2 Use org-tree-slide-play-hook to hide blocks 2021-06-07 09:56:37 -07:00
751569f545 Fix +tabs:previous-or-goto typo 2021-06-06 17:49:26 -04:00
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
47bce8856d Fix gr in compilation buffers (for evil users) 2021-06-06 01:19:49 -04:00
ea80826fd2 gt/gT = add goto Nth tab behavior
As it does in vim.
2021-06-05 14:24:17 -04:00
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
63cc08be98 lang/java: Add file templates
- `__annotation-type`
- `__enum`
- `__interface`
- `__record`
- `__` → `__class` (rename)
2021-06-05 23:21:53 +09:00
9fb96f9eeb Fix 'setting-constant enable-multibyte-characters' error
Regression caused by 78dde6efd.

Mentioned in #5133
2021-06-04 22:45:36 -04:00
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
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
99fbdb1092 lang/sh: make shfmt indent-style aware
Fixes #2905
2021-06-04 16:15:17 -04:00
883a109a7a Fix "Couldn't find project root" error on +ivy/compile 2021-06-04 14:50:45 -04:00
14326d6704 Merge pull request #5110 from fosskers/colin/irc-libera
app/irc: Libera.Chat
2021-06-04 14:21:34 -04:00
db020f67c6 Merge pull request #5111 from destroyer449/flycheck_documentation
Added Flycheck documentation
2021-06-04 14:21:15 -04:00
8cfe38ebb6 Merge pull request #5115 from jmorag/gitignore-haskell
Add haskell gitignore template
2021-06-04 14:20:45 -04:00
8f5d729df9 Merge pull request #5122 from RBckmnn/sharper_keybinds
Add evil-keybindings for various sharper commands
2021-06-04 14:19:57 -04:00
027dec3b5f editor/format: use unabbreviated commit
Fix #5136
2021-06-04 14:08:42 -04:00
26aeb72e63 org-clock-out-remove-zero-time-clocks = t
Reverts 334c309; the original issue was reportedly fixed upstream at
some point.
2021-06-04 14:08:42 -04:00
9da4ac05ad Fix #4894: +lookup/references not following references 2021-06-04 01:30:34 -04:00
4dceae1826 lang/org: hl dead links in warning + org-link faces 2021-06-01 21:24:32 -04:00
70967a1702 Add evil-keybindings for various sharper commands 2021-06-01 17:40:40 +02:00
805810b95f lang/org: tab = cycle folds if in emacs state
Tab should only be changed for evil users in insert mode, since they
have fold cycling functionality available in normal mode and vanilla
users do not.
2021-05-31 14:22:54 -04:00
bd94250503 Fix #5113: "defining as dynamic an already lexical var" error
Due to a dynamic variable being let-bound while evil-textobj-anyblock is
loading, so load it first.
2021-05-30 12:21:13 -04:00