Fix c snippets expanded in cpp filetype
This commit is contained in:
parent
4bf88a9e49
commit
e01a166c4e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user