summaryrefslogtreecommitdiff
path: root/lua/telescope/deprecated.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/telescope/deprecated.lua')
-rw-r--r--lua/telescope/deprecated.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/lua/telescope/deprecated.lua b/lua/telescope/deprecated.lua
index 0d98c1d..ff33a07 100644
--- a/lua/telescope/deprecated.lua
+++ b/lua/telescope/deprecated.lua
@@ -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