CommandT has moved finders under CommandT::Finder module, respect this

This commit is contained in:
ZyX 2014-11-30 19:34:27 +03:00
parent 4618dab2ec
commit 1af127b023
1 changed files with 5 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def finder(pl):
vim.command('ruby $powerline.commandt_set_active_finder') vim.command('ruby $powerline.commandt_set_active_finder')
return [{ return [{
'highlight_group': ['commandt:finder'], 'highlight_group': ['commandt:finder'],
'contents': vim.eval('g:powerline_commandt_reply').replace('CommandT::', '') 'contents': vim.eval('g:powerline_commandt_reply').replace('CommandT::', '').replace('Finder::', '')
}] }]
@ -64,6 +64,10 @@ FINDERS_WITHOUT_PATH = set((
'CommandT::BufferFinder', 'CommandT::BufferFinder',
'CommandT::TagFinder', 'CommandT::TagFinder',
'CommandT::JumpFinder', 'CommandT::JumpFinder',
'CommandT::Finder::MRUBufferFinder',
'CommandT::Finder::BufferFinder',
'CommandT::Finder::TagFinder',
'CommandT::Finder::JumpFinder',
)) ))