Skip to content

Cannot use other rootMarkers except .git #225

@RMTT

Description

@RMTT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions