Use context_filetype plugin for source filetypes
This commit is contained in:
parent
b214f7e3fd
commit
755f08a08f
@ -193,10 +193,8 @@ endfunction"}}}
|
||||
|
||||
function! s:get_sources_filetypes(filetype) "{{{
|
||||
let filetypes =
|
||||
\ exists('*neocomplete#get_source_filetypes') ?
|
||||
\ neocomplete#get_source_filetypes(a:filetype) :
|
||||
\ exists('*neocomplcache#get_source_filetypes') ?
|
||||
\ neocomplcache#get_source_filetypes(a:filetype) :
|
||||
\ exists('*context_filetype#get_filetypes') ?
|
||||
\ context_filetype#get_filetypes(a:filetype) :
|
||||
\ split(((a:filetype == '') ? 'nothing' : a:filetype), '\.')
|
||||
return filetypes + ['_']
|
||||
endfunction"}}}
|
||||
|
Loading…
Reference in New Issue
Block a user