vim: fix column formatting for >9 messages in search view

This commit is contained in:
Bart Trojanowski 2009-11-23 20:20:34 -05:00
parent 6bc0ec618d
commit f275f5f7f0

View file

@ -218,7 +218,7 @@ function! s:NM_cmd_search_fmtline(line)
if strlen(from) >= max
let from = substitute(m[3][0:max-4], '[^A-Za-z1-9_]*$', '', '') . '...'
endif
return printf('%s %-20s | %s (%s)', m[2], from, m[4], m[5])
return printf('%-20s %-20s | %s (%s)', m[2], from, m[4], m[5])
endfunction
function! s:NM_cmd_search_mksyntax()
syntax clear nmSearchFrom