diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-11-01 20:30:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-01 20:30:10 +0100 |
| commit | 587a10d1494d8ffa1229246228f0655db2f0a48a (patch) | |
| tree | 081dcfb1448c16e836b6877ed20344f135afdd88 /lua/telescope/utils.lua | |
| parent | 0caec3d6e4d3c3c71339eb18a9aae7ed0f24badc (diff) | |
chore: remove a lot of deprecated stuff (#1399)
Diffstat (limited to 'lua/telescope/utils.lua')
| -rw-r--r-- | lua/telescope/utils.lua | 21 |
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(...) |
