diff options
| author | Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> | 2021-11-15 21:32:02 +0000 |
|---|---|---|
| committer | Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> | 2021-11-18 19:44:12 +0000 |
| commit | edcf07cf885f86c08c5b15f333b7c82b15c3527b (patch) | |
| tree | 4d2638cfb6f401660ab5317f535ceb274cd60e7f /lua/telescope/config.lua | |
| parent | b952c2f852de1ec5ce7306ccd9262c97e27902d2 (diff) | |
feat: layout actions (#1383)
Co-authored-by: johnybx <johnybx@users.noreply.github.com>
Diffstat (limited to 'lua/telescope/config.lua')
| -rw-r--r-- | lua/telescope/config.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua index 127307b..a96bc0b 100644 --- a/lua/telescope/config.lua +++ b/lua/telescope/config.lua @@ -190,6 +190,23 @@ append( append("layout_config", layout_config_defaults, layout_config_description) append( + "cycle_layout_list", + { "horizontal", "vertical", { layout_strategy = "horizontal", previewer = false } }, + [[ + Determines the layouts to cycle through when using `actions.cycle_layout_next` + and `actions.cycle_layout_prev`. + Should be a list of "layout setups". + Each "layout setup" can take one of two forms: + 1. string <br> + This is interpreted as the name of a `layout_strategy` + 2. table <br> + A table with possible keys `layout_strategy`, `layout_config` and `previewer` + + Default: TODO + ]] +) + +append( "winblend", 0, [[ |
