diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2020-11-23 16:11:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-23 10:11:46 -0500 |
| commit | 863328a96d81d4b93bcfaa0038d429ea24880b0b (patch) | |
| tree | 4560fcbb47d2c084711d228f70ab58983182d874 /README.md | |
| parent | 2ac0582c06d8a52a42907dde106983e44ae989ef (diff) | |
feat: Buffers rework (indicators and sorting) (#208)
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -478,14 +478,15 @@ This section is an overview of how custom pickers can be created any configured. ```lua -- lua/telescope/pickers.lua Picker:new{ - prompt_title = "", -- 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, row - border = {}, - borderchars = {"─", "│", "─", "│", "┌", "┐", "┘", "└"}, - preview_cutoff = 120, + prompt_title = "", -- 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, row + border = {}, + borderchars = {"─", "│", "─", "│", "┌", "┐", "┘", "└"}, + preview_cutoff = 120, + default_selection_index = 1, -- Change the index of the initial selection row } ``` |
