Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace coc-pyright because of performance issues
coc-pyright is often stuck at 100% CPU for minutes when it encounters certain functions, probably while generating inlay type hints. (see fannheyward/coc-pyright#1087) pyright itself doesn't provide these hints (MS keeps that feature hidden in the closed-source pylance VS Code extension), but the fork basedpyright does. Performance has been good so far, so switch to using that language server directly from coc.nvim coc-pyright also handled linting / formatting via e.g. ruff, so that functionality needs to be replaced as well. efm-languageserver acts like a proxy between LSP clients and linting / formatting tools. Multiple tools can be configured per language to provide linting suggestions or formatting files. coc.nvim is okay with running multiple language servers for a filetype, so basedpyright and efm-languageserver can be used together.
- Loading branch information