mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
vim: fix column formatting for >9 messages in search view
This commit is contained in:
parent
6bc0ec618d
commit
f275f5f7f0
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ function! s:NM_cmd_search_fmtline(line)
|
||||||
if strlen(from) >= max
|
if strlen(from) >= max
|
||||||
let from = substitute(m[3][0:max-4], '[^A-Za-z1-9_]*$', '', '') . '...'
|
let from = substitute(m[3][0:max-4], '[^A-Za-z1-9_]*$', '', '') . '...'
|
||||||
endif
|
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
|
endfunction
|
||||||
function! s:NM_cmd_search_mksyntax()
|
function! s:NM_cmd_search_mksyntax()
|
||||||
syntax clear nmSearchFrom
|
syntax clear nmSearchFrom
|
||||||
|
|
Loading…
Reference in a new issue