Skip to content

Conversation

Hxppdv
Copy link

@Hxppdv Hxppdv commented Mar 2, 2023

Avoid importing project root when temporarily viewing files outside the workspace.

@wyuenho
Copy link
Contributor

wyuenho commented Jul 8, 2024

What should probably be done is to add an :activation-fn to the client definition to look up a pyrightconfig.json file or a pyproject.toml with a tool.pyright section, and turn off multiroot so lsp-pyright isn't activated on every python mode buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants