Merge pull request #397 from NigoroJr/master

Fix c snippets expanded in cpp filetype
This commit is contained in:
Shougo 2017-08-17 19:32:34 +09:00 committed by GitHub
커밋 b0d6b1c7e0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -178,7 +178,7 @@ function! s:get_sources_filetypes(filetype) abort "{{{
\ exists('*context_filetype#get_filetypes') ?
\ context_filetype#get_filetypes(a:filetype) :
\ split(((a:filetype == '') ? 'nothing' : a:filetype), '\.')
return neosnippet#util#uniq(['_', a:filetype] + filetypes)
return neosnippet#util#uniq(['_'] + filetypes + [a:filetype])
endfunction"}}}
" vim: foldmethod=marker