-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lsp/hover: Use link overrides if set (#1244)
Other engines may expose custom builtins with does not on openpolicyagent.org, see https://github.com/StyraInc/enterprise-opa/blob/v1.29.1/capabilities/v1.29.1.json#L5110 This PR supports loading them from the Categories for a builtin. Signed-off-by: Charlie Egan <charlie@styra.com>
- Loading branch information
1 parent
aba5ef4
commit bdc73a0
Showing
3 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
### [foo.bar](https://example.com) | ||
|
||
```rego | ||
output := foo.bar(arg1, arg2) | ||
``` | ||
|
||
Description for Foo Bar | ||
|
||
|
||
#### Arguments | ||
|
||
- `arg1` string — arg1 for foobar | ||
- `arg2` string — arg2 for foobar | ||
|
||
|
||
Returns `output` of type `number`: the output for foobar |