docs: Align params in pipeline
This commit is contained in:
20
README.md
20
README.md
@@ -264,9 +264,9 @@ Use the telescope.
|
|||||||
```lua
|
```lua
|
||||||
-- lua/telescope/finders.lua
|
-- lua/telescope/finders.lua
|
||||||
Finder:new{
|
Finder:new{
|
||||||
entry_maker = function(line) end,
|
entry_maker = function(line) end,
|
||||||
fn_command = function() { command = "", args = { "ls-files" } } end,
|
fn_command = function() { command = "", args = { "ls-files" } } end,
|
||||||
static = false,
|
static = false,
|
||||||
maximum_results = false
|
maximum_results = false
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@@ -293,14 +293,14 @@ Defaults:
|
|||||||
```lua
|
```lua
|
||||||
-- lua/telescope/pickers.lua
|
-- lua/telescope/pickers.lua
|
||||||
Picker:new{
|
Picker:new{
|
||||||
prompt = "", -- REQUIRED
|
prompt = "", -- REQUIRED
|
||||||
finder = FUNCTION, -- see lua/telescope/finder.lua
|
finder = FUNCTION, -- see lua/telescope/finder.lua
|
||||||
sorter = FUNCTION, -- see lua/telescope/sorter.lua
|
sorter = FUNCTION, -- see lua/telescope/sorter.lua
|
||||||
previewer = FUNCTION, -- see lua/telescope/previewer.lua
|
previewer = FUNCTION, -- see lua/telescope/previewer.lua
|
||||||
selection_strategy = "reset", -- follow, reset, line
|
selection_strategy = "reset", -- follow, reset, line
|
||||||
border = {},
|
border = {},
|
||||||
borderchars = {"─", "│", "─", "│", "┌", "┐", "┘", "└"},
|
borderchars = {"─", "│", "─", "│", "┌", "┐", "┘", "└"},
|
||||||
preview_cutoff = 120,
|
preview_cutoff = 120,
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user