EvolveBeyond / NvPak

A clean config for neovim to be of particular complexity
Other
95 stars 9 forks source link

[LSP] Format request failed, no matching language servers. #34

Closed ARS101 closed 1 year ago

ARS101 commented 1 year ago

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.

Screenshots image

Informations

Pakrohk commented 1 year ago

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.

ARS101 commented 1 year ago

Can confirm. It's solved.