Permalink
Browse files

Minor modification of the status message

  • Loading branch information...
tomtom committed Sep 19, 2012
1 parent f6a18b2 commit c84baa2e74d7dbc2a658c46da66ad6cfac9b7752
Showing with 5 additions and 1 deletion.
  1. +5 −1 autoload/tcommand.vim
View
@@ -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

0 comments on commit c84baa2

Please sign in to comment.