forge-post-mode uses temporary files for editing, which means that
prettier can't determine the formatter to use based on the
filename. Hence we need to explicitly pass `--parser markdown` as a CLI
arg to prettier.
The highlight-indent-guides package seems to have a cursor movement bug
with some modes, and makefile-mode is one of them.
Also Makefiles are tab indented, and the indentation highlight replaces
the tab character symbol, making it difficult to properly understand the
indentation level.
With it set to 0.0 suggestions would pop up instantly which is nice when
you need a suggestion, but it made using snippets really annoying. This
seems to feel like a nice middle-ground.
Due to wrapping text at 80 characters, having section content indented
to match the heading level of the section caused annoyance whenever I
restructured documents, as often the line wrapping was no longer correct
and needed adjustment.
If you launch Emacs by giving it a file to open, the auto-loading of the
default desktop would remove that file, as it is not likely to be part
of the default desktop.
Instead desktop management is now disabled until you specifically load a
desktop with `desktop+-load-or-create` (bound to `C-z C-z C-s`).
Most visual/theme related frame parameters I prefer coming from the
active config, rather than being restored to what they were when the
desktop/session file was saved.
A recent change (https://github.com/raxod502/straight.el/pull/558) to
straight.el's use-package integration led to some of my :straight
definitions throwing errors.
When overriding the package name, do not wrap the real name in parens,
for example:
;; bad (no longer works)
(use-package helm-global-bindings
:straight (helm))
;; good (worked before, still works)
(use-package helm-global-bindings
:straight helm)
It seems when native-comp is used, the kill-buffer-hook in json-snatcher
is registered, even though the library itself isn't registered. And the
`jsons-remove-buffer` function does not have a autoload declaration.
Hence we use use-package to manually create a autoload for the function.
Previously I've always kinda "hacked" things to get C-z prefixes for
various workspace-related packages to work. Now it's finally setup
correctly with a custom siren-workspace-map keymap bound to C-z, and
relevant packages adding keybindings to it.
- Enable switching windows with my custom M-i, M-k, M-j, and M-l
windmove keybindings
- Disable hl-line-mode for vterm buffers. The hl-line would constantly
flicker in an annoying manner while typing.
This allows specific major-modes to disable hl-line-mode, which is
desired some terminal/shell modes like vterm where the hl-line flickers
constantly while typing.