Skip to content

Commit

Permalink
plugins/wildmenu: Fix renderer (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
wvffle authored Dec 13, 2023
1 parent 04b0f2a commit 13f22b5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/utils/wilder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ in {
```
'';

render = helpers.mkNullOrOption types.str ''
renderer = helpers.mkNullOrOption types.str ''
Sets the renderer to used to display the completions.
See `|wilder-renderer|`.
Expand Down Expand Up @@ -237,7 +237,7 @@ in {
pipeline =
helpers.ifNonNull' pipeline
(map helpers.mkRaw pipeline);
render = helpers.mkRaw render;
renderer = helpers.mkRaw renderer;
preHook = helpers.mkRaw preHook;
postHook = helpers.mkRaw postHook;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test-sources/plugins/utils/wilder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
)
''
];
render = ''
renderer = ''
wilder.wildmenu_renderer({
-- highlighter applies highlighting to the candidates
highlighter = wilder.basic_highlighter(),
Expand Down

0 comments on commit 13f22b5

Please sign in to comment.