diff --git a/python/ycm/vimsupport.py b/python/ycm/vimsupport.py index ffac5e5e..7070d55f 100644 --- a/python/ycm/vimsupport.py +++ b/python/ycm/vimsupport.py @@ -464,7 +464,7 @@ def PostVimMessage( message, warning = True, truncate = False ): vim_width = GetIntValue( '&columns' ) message = message.replace( '\n', ' ' ) - if len( message ) > vim_width: + if len( message ) >= vim_width: message = message[ : vim_width - 4 ] + '...' old_ruler = GetIntValue( '&ruler' )