1
0
Fork 0

Fix c snippets expanded in cpp filetype

Dieser Commit ist enthalten in:
Naoki Mizuno 2017-08-12 21:36:44 +09:00
Ursprung 4bf88a9e49
Commit e01a166c4e
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -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