efm-langserver icon indicating copy to clipboard operation
efm-langserver copied to clipboard

Cannot use other rootMarkers except .git

Open RMTT opened this issue 3 years ago • 1 comments
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: image

RMTT avatar Jun 30 '22 10:06 RMTT

What OS are you using?

mattn avatar Mar 18 '24 13:03 mattn