mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
Consistent filepath display and code cleanup. (#839)
BREAKING CHANGE: see :help telescope.changelog-839 for more information Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
This commit is contained in:
co-authored by
Simon Hauser
parent
38907ce7d7
commit
d5a8e48aa6
@@ -8,6 +8,20 @@ deprecated.picker_window_options = function(opts)
|
||||
-- Deprecated: PR:922, 2021/06/25
|
||||
-- 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'"
|
||||
)
|
||||
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'"
|
||||
)
|
||||
end
|
||||
|
||||
if opts.width then
|
||||
table.insert(messages, "'opts.width' is no longer valid. Please use 'layout_config.width' instead")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user