Commit Graph

5 Commits

Author SHA1 Message Date
4a7e003ea1 Fix formatting via eslint on save in neovim
When I saved files in my eslint-formatted projects I was wondering about
slight differences between the results of running `eslint --fix` vs. the
autoamtic formatting when I save a file in neovim.

As it turned out I ran the wrong command indeed. This changes fixes that
by simply calling the correct command on save. Note that this looks
"bigger" but it's actually a copy of the built-in `LspEslintFixAll` of
neovim.

Reference: 1a6d692067/doc/configs.md (eslint)
Reference: 89fd0361b3/lsp/eslint.lua (L92-L104)
2026-03-27 00:52:12 +01:00
ba01bd7e72 Change vim-shortcut to search for references from "gr" to "gs"
The former shortcut is simply not unique enough under certain
circumstances, therefore I change it to the new "gs" which fits good as
well.
2026-02-03 00:33:57 +01:00
2e3412c410 Add descriptions for lsp-shortcuts
Since I use which-key I can actually benefit a lot from meaningful
descriptions of my custom shortcuts. Whenever I feel like I forgot a
multi-key shortcut I can simply type the first letter (in my case
usually "Space" or "g") and peek into the preview of whichkey. It lists
all possible additional keystrokes and their descriptions, so this
change makes it a lot easier for me to find the command I'm looking for.
2026-02-03 00:28:49 +01:00
55323212b7 Format typescript files on write automatically with eslint in nvim
This makes it easier for me, since I don't have to care about the
formatting all the time.
2025-08-24 20:34:54 +02:00
24f7891460 Migrate vim to neovim (min v0.11)
Install newest vim-releases via appimage from github-page!
2025-08-10 17:12:01 +02:00