Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: additional paths shouldn't be duplicated every time a new session starts #120

Merged
merged 3 commits into from
Jun 14, 2024

Conversation

jfcherng
Copy link
Contributor

configuration.env['PATH'] is bound to a server class and we just keep prepending the same additional paths into it every time when there is a new session starts (e.g., a project is opened in a new window). Eventually, it triggers this bug: TerminalFi/LSP-copilot#163

st3/lsp_utils/helpers.py Outdated Show resolved Hide resolved
@jfcherng jfcherng force-pushed the fix/duplicated-path-env branch from d948383 to 8a89ce4 Compare June 13, 2024 19:11
… starts

Signed-off-by: Jack Cherng <jfcherng@gmail.com>
@jfcherng
Copy link
Contributor Author

jfcherng commented Jun 13, 2024

Unit test failures are irrelevant to this PR.

Signed-off-by: Jack Cherng <jfcherng@gmail.com>
@jfcherng jfcherng force-pushed the fix/duplicated-path-env branch from 13d4fe7 to 254547b Compare June 14, 2024 09:03
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
@rchl rchl merged commit 5c8e60f into sublimelsp:main Jun 14, 2024
1 of 3 checks passed
@rchl
Copy link
Member

rchl commented Jun 14, 2024

thanks

@jfcherng jfcherng deleted the fix/duplicated-path-env branch June 14, 2024 09:48
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