Skip to content

Commit

Permalink
fixup: Just add a few more words
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdevries committed Jun 30, 2021
1 parent 0a6588c commit 85353cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions doc/telescope_changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@
Date: May 17, 2021
PR: https://github.com/nvim-telescope/telescope.nvim/pull/922

A lot of new and breaking changes here as we work to clean up the way users
can configure how telescope's windows are configured.
This is one of our largest breaking changes thus far, so I (TJ) am adding some
information here so that you can more easily update (without having to track
down the commit, etc.).

The goal of these breaking changes is to greatly simplify the way
configuration for layouts happen. This should make it much easier to configure
each picker, layout_strategy, and more. Please report any bugs or behavior
that is broken / confusing upstream and we can try and make the configuration
better.

|telescope.setup()| has changed `layout_defaults` -> `layout_config`.
This makes it so that the setup and the pickers share the same key,
Expand Down
1 change: 1 addition & 0 deletions lua/telescope/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ function config.set_defaults(user_defaults, tele_defaults)

-- Check if using layout keywords outside of `layout_config`
deprecated.picker_window_options(user_defaults)

-- Check if using `layout_defaults` instead of `layout_config`
user_defaults = deprecated.layout_configuration(user_defaults)

Expand Down

0 comments on commit 85353cb

Please sign in to comment.