chore: use plenary.strings and remove strings functions from utils (#690)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
This commit is contained in:
committed by
GitHub
parent
398a0d391a
commit
0c1bc129da
@@ -1,6 +1,7 @@
|
||||
local entry_display = require('telescope.pickers.entry_display')
|
||||
local path = require('telescope.path')
|
||||
local utils = require('telescope.utils')
|
||||
local strings = require('plenary.strings')
|
||||
|
||||
local Path = require('plenary.path')
|
||||
|
||||
@@ -444,7 +445,7 @@ function make_entry.gen_from_buffer(opts)
|
||||
local icon_width = 0
|
||||
if not disable_devicons then
|
||||
local icon, _ = utils.get_devicons('fname', disable_devicons)
|
||||
icon_width = utils.strdisplaywidth(icon)
|
||||
icon_width = strings.strdisplaywidth(icon)
|
||||
end
|
||||
|
||||
local displayer = entry_display.create {
|
||||
|
||||
Reference in New Issue
Block a user