feat: use annotation sign from config in telescope extensions (#10)

This commit is contained in:
Turiiya 2023-07-06 04:38:03 +02:00 committed by GitHub
parent 1292a70d53
commit e51023c895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ local function get_text(annotation)
local pref = string.sub(annotation, 1, 2)
local ret = config.keywords[pref]
if ret == nil then
ret = " "
ret = config.signs.ann.text .. " "
end
return ret .. annotation
end