-
Notifications
You must be signed in to change notification settings - Fork 105
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
Changes for #162 correct how text document sync settings are configured #163
Conversation
This should hopefully fix some of the issues seen in #162 |
.Where(x => x.Change != TextDocumentSyncKind.None) | ||
.Min(z => z.Change), | ||
.Min(z => z.Change); |
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.
As per comment in #162 (comment) this seems to throw because sequence doesn't contain any elements. Maybe add the same predicate x => x.Change != TextDocumentSyncKind.None
also to the if (options.Any())
check above?
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.
sounds like a good change...
@mholo65 updated 🙃 |
No description provided.