- Disconnect from flycheck: I finded that it hangs with lsp (checked
with profiler-start/stop/report) and freeze emacs for a few seconsand
other errors apears like bad syntax highlighting.
- Re-enable lsp with prog-mode.
- Enable automatic project root detection vía
projectile (lsp-auto-guess-root).
- Lsp idle delay changed to 0.5 (default value).