Next: , Up: Troubleshooting Eglot   [Contents][Index]

7.1 Performance

A common and easy-to-fix cause of performance problems in Eglot (especially in older versions) is its events buffer, since it represents additional work that Eglot must do (see eglot-events-buffer). If you find Eglot is operating correctly but slowly, try to customize the variable eglot-events-buffer-config (see Eglot Variables) and set its :size property to 0. This will disable recording any events and may speed things up.

In other situations, the cause of poor performance lies in the language server itself. Servers use aggressive caching and other techniques to improve their performance. Often, this can be tweaked by changing the server configuration (see Advanced server configuration).