Browse Source

Fix c snippets expanded in cpp filetype

PR/fix-warning
Naoki Mizuno 6 years ago
parent
commit
e01a166c4e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      autoload/neosnippet/helpers.vim

+ 1
- 1
autoload/neosnippet/helpers.vim View File

@@ -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…
Cancel
Save