Skip to content

Commit

Permalink
fix(docs): point to correct lua modules (#2284)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigmac authored Dec 28, 2022
1 parent 0a75882 commit d7d3ea9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/telescope.txt
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ telescope.setup({opts}) *telescope.setup()*

*telescope.defaults.cycle_layout_list*
cycle_layout_list: ~
Determines the layouts to cycle through when using `actions.cycle_layout_next`
and `actions.cycle_layout_prev`.
Determines the layouts to cycle through when using `actions.layout.cycle_layout_next`
and `actions.layout.cycle_layout_prev`.
Should be a list of "layout setups".
Each "layout setup" can take one of two forms:
1. string <br>
Expand Down Expand Up @@ -514,7 +514,7 @@ telescope.setup({opts}) *telescope.setup()*
- msg_bg_fillchar: Character to fill background of unpreviewable buffers with
Default: "╱"
- hide_on_startup: Hide previewer when picker starts. Previewer can be toggled
with actions.toggle_preview.
with actions.layout.toggle_preview.
Default: false


Expand Down
6 changes: 3 additions & 3 deletions lua/telescope/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ append(
"cycle_layout_list",
{ "horizontal", "vertical" },
[[
Determines the layouts to cycle through when using `actions.cycle_layout_next`
and `actions.cycle_layout_prev`.
Determines the layouts to cycle through when using `actions.layout.cycle_layout_next`
and `actions.layout.cycle_layout_prev`.
Should be a list of "layout setups".
Each "layout setup" can take one of two forms:
1. string <br>
Expand Down Expand Up @@ -611,7 +611,7 @@ append(
- msg_bg_fillchar: Character to fill background of unpreviewable buffers with
Default: "╱"
- hide_on_startup: Hide previewer when picker starts. Previewer can be toggled
with actions.toggle_preview.
with actions.layout.toggle_preview.
Default: false
]]
)
Expand Down

0 comments on commit d7d3ea9

Please sign in to comment.