Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add cursor layout #878

Merged
merged 18 commits into from
Jul 16, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[docgen] Update doc/telescope.txt
skip-checks: true
  • Loading branch information
Github Actions committed May 31, 2021
commit 90789342dde1d5cfce22184fea32e2cf5d33ee4c
25 changes: 25 additions & 0 deletions doc/telescope.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,17 @@ themes.get_dropdown() *themes.get_dropdown()*



themes.get_cursor() *themes.get_cursor()*
Cursor style theme. Only to be used with cursor layout.

Usage:

`local builtin = require('telescope.builtin')`
`local themes = require('telescope.themes')`
`builtin.lsp_code_actions(themes.get_cursor())`



themes.get_ivy() *themes.get_ivy()*
Ivy style theme.

Expand Down Expand Up @@ -1270,6 +1281,20 @@ layout_strategies.center() *layout_strategies.center()*



layout_strategies.cursor() *layout_strategies.cursor()*
Cursor layout dynamically positioned below the cursor if possible.

+--------------+---------------------+
| Prompt | Previewer |
+--------------+ Previewer |
| Result | Previewer |
| Result | Previewer |
+--------------+---------------------+
(█: when there is no space available)



layout_strategies.vertical() *layout_strategies.vertical()*
Vertical perviewer stacks the items on top of each other.

Expand Down