From: Alexis Laferrière Date: Sat, 7 Feb 2015 16:54:54 +0000 (-0500) Subject: misc/vim: use shorter … char X-Git-Tag: v0.7.2~19^2~1 X-Git-Url: http://nitlanguage.org?ds=sidebyside misc/vim: use shorter … char Signed-off-by: Alexis Laferrière --- diff --git a/misc/vim/plugin/nit.vim b/misc/vim/plugin/nit.vim index 928643d..23e557a 100644 --- a/misc/vim/plugin/nit.vim +++ b/misc/vim/plugin/nit.vim @@ -139,7 +139,7 @@ fun NitOmnifuncAddAMatch(matches, words, name) let desc = get(a:words, 3, '') let desc = join(split(desc, '#nnnn#', 1), "\n") if strlen(pretty) > 40 - let pretty = pretty[:37] . '...' + let pretty = pretty[:39] . '…' endif call add(a:matches, {'word': a:name, 'abbr': pretty, 'menu': synopsis, 'info': desc, 'dup': 1}) endfun