Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor modification of the status message

  • Loading branch information...
commit c84baa2e74d7dbc2a658c46da66ad6cfac9b7752 1 parent f6a18b2
@tomtom authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 autoload/tcommand.vim
View
6 autoload/tcommand.vim
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.