EvolveBeyond / NvPak

A clean config for neovim to be of particular complexity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ARS101 opened this issue · comments

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.

Screenshots
image

Informations

  • OS: Fedora 37 stable
  • NVIM version: 0.8.2
  • Latest commit: 0d71e21

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.

commented

Can confirm. It's solved.