Save on eglot-rename
in otherwise-unmodified files?
#1383
-
Is there a way to have Eglot save buffers when it performs an edit to them? I'd like to be able to Alternatively, could Eglot offer a |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
There is no such functionality. I doubt it should be provided by Eglot though. Have you tried |
Beta Was this translation helpful? Give feedback.
-
Speaking of That alters the behavior of the command globally. EDIT: But to use this kind of functionality temporarily in a program, you could bind the variable in a |
Beta Was this translation helpful? Give feedback.
-
This is one of the features that I really miss after migrating from LSP. It does not only affect |
Beta Was this translation helpful? Give feedback.
Of course, maybe you don't compile your project with
M-x compile
. That's fine, but adding asave-some-buffers
into your loop, perhaps as a "before" advice, might make sense.CCing @dgutov might have ideas here. Personally I'm stepping away from Emacs deve as much as possible btw.