Fix #169 support for multiple filetypes

This commit is contained in:
Shougo Matsushita 2014-07-09 22:41:11 +09:00
parent b8da324ed9
commit d981b8aee7

View File

@ -188,7 +188,7 @@ function! s:get_sources_filetypes(filetype) "{{{
\ neocomplete#get_source_filetypes(a:filetype) : \ neocomplete#get_source_filetypes(a:filetype) :
\ exists('*neocomplcache#get_source_filetypes') ? \ exists('*neocomplcache#get_source_filetypes') ?
\ neocomplcache#get_source_filetypes(a:filetype) : \ neocomplcache#get_source_filetypes(a:filetype) :
\ [(a:filetype == '') ? 'nothing' : a:filetype] \ split(((a:filetype == '') ? 'nothing' : a:filetype), '\.')
return filetypes + ['_'] return filetypes + ['_']
endfunction"}}} endfunction"}}}