Skip to content

Commit cfa5b12

Browse files
committed
bugfix
1 parent b08d3f3 commit cfa5b12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload/easycomplete/util.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2087,7 +2087,7 @@ function! s:ParseAbbr(abbr)
20872087
if max_length == 0 || strlen(a:abbr) <= max_length
20882088
return a:abbr
20892089
else
2090-
let short_abbr = a:abbr[0:max_length - 3] . ".."
2090+
let short_abbr = a:abbr[0:max_length - 2] . ""
20912091
return short_abbr
20922092
endif
20932093
endfunction

lua/easycomplete/util.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function util.parse_abbr(abbr)
1919
if max_length == 0 or #abbr <= max_length then
2020
return abbr
2121
else
22-
local short_abbr = string.sub(abbr, 1, max_length - 3) .. ".."
22+
local short_abbr = string.sub(abbr, 1, max_length - 2) .. ""
2323
return short_abbr
2424
end
2525
end

0 commit comments

Comments
 (0)