efm-langserver
efm-langserver copied to clipboard
Cannot use other rootMarkers except .git
trafficstars
For example, i want use pyproject.toml as rootMarker, and the folder content is:
.
├── 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:

What OS are you using?