Open RMTT opened 2 years ago
For example, i want use pyproject.toml as rootMarker, and the folder content is:
pyproject.toml
. ├── a.py └── pyproject.toml
The efm configuration:
lspconfig.efm.setup { init_options = { documentFormatting = true }, settings = { rootMarkers = { 'pyproject.toml', '.git' }, languages = { python = { { formatCommand = 'yapf', formatStdin = true }, } } }, filetypes = { 'python' } }
when open a.py, the LSPInfo:
a.py
LSPInfo
What OS are you using?
For example, i want use
pyproject.toml
as rootMarker, and the folder content is:The efm configuration:
when open![image](https://user-images.githubusercontent.com/20596599/176650034-110f73e2-5dca-44c6-bc3d-39e172b2a4d5.png)
a.py
, theLSPInfo
: