这种方式还有一个问题:Eglot 的 eglot-code-actions 功能用不了了,估计是因为这个功能依赖 Flymake 来标记位置。
eglot-code-actions
看来还是直接用 Flymake 算了。