diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-07-23 17:42:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-23 11:42:37 -0400 |
| commit | 79644ab67731c7ba956c354bf0545282f34e10cc (patch) | |
| tree | e65dbf73b3442ab1aa9fc59fc56a35b4c9edf1e0 /lua/telescope/deprecated.lua | |
| parent | 664690029fdb302bee8d3f27a458383e8477add7 (diff) | |
chore: use stylua for formatting (#1040)
* chore: stylua job and config
* reformat with stylua
Diffstat (limited to 'lua/telescope/deprecated.lua')
| -rw-r--r-- | lua/telescope/deprecated.lua | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/lua/telescope/deprecated.lua b/lua/telescope/deprecated.lua index ff33a07..63e85fd 100644 --- a/lua/telescope/deprecated.lua +++ b/lua/telescope/deprecated.lua @@ -9,16 +9,18 @@ deprecated.picker_window_options = function(opts) -- Can be removed in a few weeks. if opts.shorten_path then - table.insert(messages, - "'opts.shorten_path' is no longer valid. Please use 'opts.path_display' instead. " .. - "Please See ':help telescope.changelog-839'" + table.insert( + messages, + "'opts.shorten_path' is no longer valid. Please use 'opts.path_display' instead. " + .. "Please See ':help telescope.changelog-839'" ) end if opts.hide_filename then - table.insert(messages, - "'opts.hide_filename' is no longer valid. Please use 'opts.path_display' instead. " .. - "Please See ':help telescope.changelog-839'" + table.insert( + messages, + "'opts.hide_filename' is no longer valid. Please use 'opts.path_display' instead. " + .. "Please See ':help telescope.changelog-839'" ) end @@ -35,19 +37,22 @@ deprecated.picker_window_options = function(opts) end if opts.results_width then - table.insert(messages, + table.insert( + messages, "'opts.results_width' actually didn't do anything. Please see ':help telescope.changelog-922'" ) end if opts.prompt_position then - table.insert(messages, + table.insert( + messages, "'opts.prompt_position' is no longer valid. Please use 'layout_config.prompt_position' instead." ) end if opts.preview_cutoff then - table.insert(messages, + table.insert( + messages, "'opts.preview_cutoff' is no longer valid. Please use 'layout_config.preview_cutoff' instead." ) end |
