-
Notifications
You must be signed in to change notification settings - Fork 1
Remove restriction to projects #2
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -217,11 +217,11 @@ local function setupClient() | |
| transport = 'stdio', | ||
| showInSettings = false, | ||
| languageFilter = { | ||
| patterns = { '*' }, | ||
| mimeTypes = { 'text/plain' }, | ||
| }, | ||
| initializationOptions = createInitOptions, | ||
| settings = Settings, | ||
| startBehavior = "RequiresProject", | ||
| startBehavior = "RequiresFile", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. RequiresProject is necessary if the config file is located in the project.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Understood, so let's postpone this change until we have RequiresProjectOrFile or some other workaround in place. |
||
| onStartFailed = function() | ||
| a.sync(function() | ||
| if IsTryingToInstall == true then | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is that "inheriting" / does it allow other types based on text/plain?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, resolution checks all parent MIME types.