rustic icon indicating copy to clipboard operation
rustic copied to clipboard

rustic configures eglot when rustic-lsp-setup-p is nil

Open lunik1 opened this issue 3 years ago • 1 comments

Issue rustic will always alter eglot-server-programs, even when rustic-lsp-setup-p is nil.

Motivation This makes it difficult to alter the initialisation options sent to rust-analyzer, as these are not exposed. A customised definition of rust-analyzer to set such options in eglot-server-programs will usually be clobbered.

Expected behaviour rustic-lsp-setup-p set to nil should not configure eglot

Notes It would also be nice if the user could set initialisation options of the lsp server through rustic.

lunik1 avatar Apr 14 '23 13:04 lunik1

I need this fixed to be able to turn on clippy checks in rust-analyzer diagnostics.

parbo avatar Dec 03 '23 11:12 parbo