diff --git a/autoload/neosnippet/helpers.vim b/autoload/neosnippet/helpers.vim index 821e171..421343f 100644 --- a/autoload/neosnippet/helpers.vim +++ b/autoload/neosnippet/helpers.vim @@ -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"}}}