The folding indicators in the fringe haven't been working when clicked
for some time now. And they also take precedence over other things
displayed in the fringe like git status.
Ensure language servers only start when a buffer is visible. This helps
with desktop restore speed, as various language servers do not start all
at the same time.
Also tweak a couple of other gopls settings, and set a others to their
defaults for the purpose of ensuring they stay that way, and also to
make it more obvious within emacs what options are available.
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.