From d981b8aee720bbd8c378e9cf97e33c48d669da85 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Wed, 9 Jul 2014 22:41:11 +0900 Subject: [PATCH] Fix #169 support for multiple filetypes --- autoload/neosnippet/helpers.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/neosnippet/helpers.vim b/autoload/neosnippet/helpers.vim index a781c28..7bf457b 100644 --- a/autoload/neosnippet/helpers.vim +++ b/autoload/neosnippet/helpers.vim @@ -188,7 +188,7 @@ function! s:get_sources_filetypes(filetype) "{{{ \ neocomplete#get_source_filetypes(a:filetype) : \ exists('*neocomplcache#get_source_filetypes') ? \ neocomplcache#get_source_filetypes(a:filetype) : - \ [(a:filetype == '') ? 'nothing' : a:filetype] + \ split(((a:filetype == '') ? 'nothing' : a:filetype), '\.') return filetypes + ['_'] endfunction"}}}