Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsp-mode is turned off for buffer on buffer save #49

Closed
GarbageHamburger opened this issue Dec 8, 2020 · 1 comment · Fixed by #51
Closed

lsp-mode is turned off for buffer on buffer save #49

GarbageHamburger opened this issue Dec 8, 2020 · 1 comment · Fixed by #51

Comments

@GarbageHamburger
Copy link

When I have zig-mode enabled for a buffer and save that buffer while lsp-mode is enabled, LSP seems to turn off (the icon disappears from the modeline, and completions no longer work).

Distribution: Debian GNU/Linux bullseye/testing
Emacs version: 27.1
Doom Emacs version: doomemacs/doomemacs@f7293fb6
zig-mode version: 20201022.955

@joachimschmidt557
Copy link
Member

I think this is due to the fact that zig-mode runs revert-buffer on every save (due to the formatting code). Leaving our manual reformatting code behind and moving towards #39 could solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants