summaryrefslogtreecommitdiff
path: root/lua/telescope/utils.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/telescope/utils.lua')
-rw-r--r--lua/telescope/utils.lua21
1 files changed, 0 insertions, 21 deletions
diff --git a/lua/telescope/utils.lua b/lua/telescope/utils.lua
index f19e973..5a14cc6 100644
--- a/lua/telescope/utils.lua
+++ b/lua/telescope/utils.lua
@@ -259,11 +259,6 @@ utils.diagnostics_to_tbl = function(opts)
return items
end
-utils.path_shorten = function(filename, len)
- log.warn "`utils.path_shorten` is deprecated. Use `require('plenary.path').shorten`."
- return Path:new(filename):shorten(len)
-end
-
utils.path_smart = (function()
local paths = {}
return function(filepath)
@@ -505,22 +500,6 @@ function utils.get_os_command_output(cmd, cwd)
return stdout, ret, stderr
end
-utils.strdisplaywidth = function()
- error "strdisplaywidth deprecated. please use plenary.strings.strdisplaywidth"
-end
-
-utils.utf_ptr2len = function()
- error "utf_ptr2len deprecated. please use plenary.strings.utf_ptr2len"
-end
-
-utils.strcharpart = function()
- error "strcharpart deprecated. please use plenary.strings.strcharpart"
-end
-
-utils.align_str = function()
- error "align_str deprecated. please use plenary.strings.align_str"
-end
-
local load_once = function(f)
local resolved = nil
return function(...)