feat: add ivy-style layout strategy (#771)

* feat: add new layout strategy

* [docgen] Update doc/telescope.txt
skip-checks: true

Co-authored-by: Github Actions <actions@github>
This commit is contained in:
TJ DeVries
2021-05-15 12:02:14 -07:00
committed by GitHub
parent b78d4ef10c
commit 4da66dab44
6 changed files with 220 additions and 40 deletions

View File

@@ -91,6 +91,37 @@ telescope.extensions() *telescope.extensions()*
================================================================================
*telescope.themes*
Themes are ways to combine several elements of styling together.
They are helpful for managing the several differnt UI aspects for telescope and
provide a simple interface for users to get a particular "style" of picker.
themes.get_dropdown() *themes.get_dropdown()*
Dropdown style theme.
Usage:
`local builtin = require('telescope.builtin')`
`local themes = require('telescope.themes')`
`builtin.find_files(themes.get_dropdown())`
themes.get_ivy() *themes.get_ivy()*
Ivy style theme.
Usage:
`local builtin = require('telescope.builtin')`
`local themes = require('telescope.themes')`
`builtin.find_files(themes.get_ivy())`
================================================================================
*telescope.actions.set*