Skip to content

fix: starting dir of ty server - #78

Open
skarasov wants to merge 2 commits into
sublimelsp:mainfrom
skarasov:fix_start_dir
Open

fix: starting dir of ty server#78
skarasov wants to merge 2 commits into
sublimelsp:mainfrom
skarasov:fix_start_dir

Conversation

@skarasov

Copy link
Copy Markdown

fix sublimelsp/LSP#2966

#65 updated for #66 (LspPlugin).

Comment thread plugin/client.py Outdated
"server_path": server_path,
})

if not context.workspace_folders:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better:

Suggested change
if not context.workspace_folders:
if not context.working_directory:

Right now this assumes too much about internal implementation.

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