From b13306e5cc6da855f77e02b37e807a4b7e32b761 Mon Sep 17 00:00:00 2001 From: Corentin Brunel Date: Fri, 16 Jul 2021 14:17:21 -0400 Subject: feat: add cursor layout (#878) * Add basic implementation of "cursor" layout strategy * Update cursor layout strategy to properly follow cursor * feat(cursor_layout): handle previewer * Refactor cursor layout code * Add cursor theme * Update readme * Improve cursor theme and layout documentation * [docgen] Update doc/telescope.txt skip-checks: true * Remove trailing whitespace * Fix issues related with neovim and plugin api changes * [docgen] Update doc/telescope.txt skip-checks: true * Allow preview width to be configured * [docgen] Update doc/telescope.txt skip-checks: true Co-authored-by: Github Actions Co-authored-by: cbrunel --- lua/telescope/config.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lua/telescope/config.lua') diff --git a/lua/telescope/config.lua b/lua/telescope/config.lua index 27edc6c..4593f7f 100644 --- a/lua/telescope/config.lua +++ b/lua/telescope/config.lua @@ -80,6 +80,10 @@ local layout_config_defaults = { center = { preview_cutoff = 40, }, + + cursor = { + preview_cutoff = 40, + } } local layout_config_description = string.format([[ -- cgit v1.2.3