From 4dd8927ea29ad69830a0276a43c54d82dc57476c Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Fri, 3 Mar 2023 07:07:12 +0000 Subject: [PATCH] docs: fix the ivy.run example --- README.md | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/README.md b/README.md index 99f0ee8..fb26ffc 100644 --- a/README.md +++ b/README.md @@ -114,23 +114,6 @@ vertical split action it will open the buffer in a new `vsplit` -- the results window, The `input` will be passed in, so you can filter -- your results with the value from the prompt function(input) - vim.ivy.run( - -- The name given to the results window and displayed to the user - "Title", - -- Call back function to get all the candidates that will be displayed in - -- the results window, The `input` will be passed in, so you can filter - -- your results with the value from the prompt - function(input) - return { - { content = "One" }, - { content = "Two" }, - { content = "Three" }, - } - end, - -- Action callback that will be called on the completion or peek actions. - -- The currently selected item is passed in as the result. - function(result) vim.cmd("edit " .. result) end - ) return { { content = "One" }, { content = "Two" },