Operating Your System
Flycheck is back! I just released , and it's easily the biggest release since I took over the project. The short version:
- Eglot support, finally built in. global-flycheck-eglot-mode routes an LSP server's diagnostics through Flycheck - the error list, navigation, the fringe, all of it - so you no longer need the third-party flycheck-eglot package.
- Inline diagnostics out of the box (flycheck-annotate-mode) - error messages shown right next to the code they refer to, VS Code Error Lens style, with a few layouts to pick from.
- A (minimalistic) native LSP client. Flycheck can now talk to a language server directly, over Emacs' built-in jsonrpc, with no Eglot or lsp-mode involved - great for the growing pile of linters that ship their own LSP server (RuboCop, Ruff, Biome, Harper...).
On top of that: fixes you can apply with a keystroke (C-c ! f), project-wide diagnostics in the error list, syntax checking over TRAMP, and a fair bit more.
I wrote the whole thing up, with screenshots, .
It's on MELPA and NonGNU ELPA now. Would love to hear what you think - especially from folks who'd quietly written Flycheck off as "done". ;-)
Hello,
I have been trying to chain snippets on emacs with no success.
As an example, I have the following snippets setup for markdown for neovim:
-
";sum" -> "\sum{$1}"
-
"\sum{_" -> "\sum_{$1}^{$2}{$3" (and the same expansion with "^" instead of "_")
These two snippets allow me to start a sum, and if I decide that I need the extra sub- and superscripts - include them into the snippet. However, I cannot figure out how to achieve this with the plugins available on emacs - tried aas with the yasnippet syntax, which seems to not be capable of it. From what I gathered, yasnippet is state of the art for emacs?
Does anyone have any solutions that I could steal?
Thanks