Skip to content

Commit

Permalink
Minor modification of the status message
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtom committed Sep 19, 2012
1 parent f6a18b2 commit c84baa2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autoload/tcommand.vim
Expand Up @@ -27,7 +27,11 @@ if !exists('g:tcommand#world')

function! g:tcommand#world.SetStatusline(query) dict "{{{3
echo
echo self.DisplayFilter() .': '. substitute(self.CurrentItem(), '\s\+\t.*$', '', '')
let filter = self.DisplayFilter()
if !empty(filter)
let filter .= ' '
endif
echo filter .':'. substitute(self.CurrentItem(), '\s\+\t.*$', '', '')
" echo self.DisplayFilter() .': '. matchstr(self.CurrentItem(), '^\S\+')
endf
endif
Expand Down

0 comments on commit c84baa2

Please sign in to comment.