lsp: Make capabilities consistent with client#1880
Merged
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom Feb 17, 2026
Merged
lsp: Make capabilities consistent with client#1880charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
Conversation
98fa1c6 to
1148d40
Compare
charlieegan3
commented
Feb 17, 2026
|
|
||
| // set enabled commands based on server feature flags | ||
| enabledCommands := []string{ | ||
| "regal.eval", |
Contributor
Author
There was a problem hiding this comment.
eval command is always on, just diff behaviour
1148d40 to
6652e18
Compare
srenatus
approved these changes
Feb 17, 2026
6652e18 to
e1a2c6e
Compare
This PR follows open-policy-agent#1867 To make better support mismatched server and client versions. Signed-off-by: Charlie Egan <charlie_egan@apple.com>
e1a2c6e to
d79f9f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR follows #1867, and is related to open-policy-agent/vscode-opa#406
To make better support mismatched server and client versions.
example.mp4