You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a polymode for python in latex mode however when eglot is also enabled every time I type something in a python chunk, it seems like a new eglot instance is launched and then typing becomes really slow (hangs for 2~3 seconds every time I type something).
This seems linked to #34 (setq polymode-lsp-integration nil) did not do anything. Nor did
As a first approach, is there a way to disable eglot in inner chuncks? Maybe a hook with elglot-shutdown-all ? I tried to add (elglot-shutdown-all) to the init functions of the inner mode (e.g. python) but it did not work.
For now, I am launching polymode and then I am typing in M-x eglot-shutdown-all. It works but this is very non-optimal: not automatic and ideally I would prefer to keep eglot.
The text was updated successfully, but these errors were encountered:
I use a polymode for python in latex mode however when eglot is also enabled every time I type something in a python chunk, it seems like a new eglot instance is launched and then typing becomes really slow (hangs for 2~3 seconds every time I type something).
This seems linked to #34
(setq polymode-lsp-integration nil)
did not do anything. Nor didsuggested in here: joaotavora/eglot#1229
As a first approach, is there a way to disable eglot in inner chuncks? Maybe a hook with elglot-shutdown-all ? I tried to add (elglot-shutdown-all) to the init functions of the inner mode (e.g. python) but it did not work.
For now, I am launching polymode and then I am typing in M-x eglot-shutdown-all. It works but this is very non-optimal: not automatic and ideally I would prefer to keep eglot.
The text was updated successfully, but these errors were encountered: