Skip to content

Commit 689a4e6

Browse files
committed
Improve docs
1 parent afa9edc commit 689a4e6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@ Useful for repetitive, but map unworthy actions you frequently perform.
1313
```lua
1414
use {
1515
"muchzill4/yacp.nvim",
16-
requires = {
17-
"nvim-telescope/telescope.nvim",
18-
-- or "ibhagwan/fzf-lua"
19-
},
16+
-- when using provider other than "native":
17+
-- requires = {
18+
-- "nvim-telescope/telescope.nvim", -- provider = "telescope"
19+
-- "ibhagwan/fzf-lua" -- provider = "fzf"
20+
-- },
2021
}
2122
```
2223

2324
### Configure
2425

2526
```lua
2627
require("yacp").setup {
27-
provider = "telescope", -- or "fzf"
28+
provider = "native", -- native (default, uses vim.ui.select) | telescope | fzf
2829
palette = {
2930
{ name = "echo in term", cmd = "term echo SUCCESS" },
3031
{ name = "help", cmd = "Telescope help_tags" },

0 commit comments

Comments
 (0)