[LSP] Format request failed, no matching language servers.
ARS101 opened this issue · comments
ARS commented
Describe the bug:
I get this warning:
[LSP] Format request failed, no matching language servers.
To reproduce
Open a python file using nvim
Expected behavior
No warnings.
Informations
- OS: Fedora 37 stable
- NVIM version: 0.8.2
- Latest commit: 0d71e21
Pakrohk commented
Checked and the problem was solved.
Now you can format your codes in two ways.
1- Tell null-ls how to do it, and every time the code is saved, it will be automatically formatted.
2- Introduce the formatter package to mason-null-ls (for example, you can use black for Python) and format your code by pressing space + f.
ARS commented
Can confirm. It's solved.