summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrockerBOO <rockerboo@gmail.com>2020-09-10 13:52:21 -0400
committerrockerBOO <rockerboo@gmail.com>2020-09-10 13:52:21 -0400
commit37152f07fea32a2ae232d98519e0833e986a7c81 (patch)
treea176dde232b9c22db61a5c7ec2f28601ae225bbe
parentc2f58e25fd459b2944dd6fc1317f3a842fead314 (diff)
docs: Align params in pipeline
-rw-r--r--README.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/README.md b/README.md
index bd2daff..1a1f23b 100644
--- a/README.md
+++ b/README.md
@@ -264,9 +264,9 @@ Use the telescope.
```lua
-- lua/telescope/finders.lua
Finder:new{
- entry_maker = function(line) end,
- fn_command = function() { command = "", args = { "ls-files" } } end,
- static = false,
+ entry_maker = function(line) end,
+ fn_command = function() { command = "", args = { "ls-files" } } end,
+ static = false,
maximum_results = false
}
```
@@ -293,14 +293,14 @@ Defaults:
```lua
-- lua/telescope/pickers.lua
Picker:new{
- prompt = "", -- REQUIRED
- finder = FUNCTION, -- see lua/telescope/finder.lua
- sorter = FUNCTION, -- see lua/telescope/sorter.lua
- previewer = FUNCTION, -- see lua/telescope/previewer.lua
+ prompt = "", -- REQUIRED
+ finder = FUNCTION, -- see lua/telescope/finder.lua
+ sorter = FUNCTION, -- see lua/telescope/sorter.lua
+ previewer = FUNCTION, -- see lua/telescope/previewer.lua
selection_strategy = "reset", -- follow, reset, line
- border = {},
- borderchars = {"─", "│", "─", "│", "┌", "┐", "┘", "└"},
- preview_cutoff = 120,
+ border = {},
+ borderchars = {"─", "│", "─", "│", "┌", "┐", "┘", "└"},
+ preview_cutoff = 120,
}
```