- Added ftdetect file.

This commit is contained in:
Shougo Matsushita 2012-05-17 22:16:04 +09:00
parent fa8cc3d935
commit cc5d07175c
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
"=============================================================================
" FILE: snippets_complete.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 05 Apr 2012.
" Last Modified: 17 May 2012.
" License: MIT license {{{
" Permission is hereby granted, free of charge, to any person obtaining
" a copy of this software and associated documentation files (the
@ -76,8 +76,6 @@ function! s:source.initialize()"{{{
autocmd FileType * call s:caching()
" Recaching events
autocmd BufWritePost *.snip,*.snippets call s:caching_snippets(expand('<afile>:t:r'))
" Detect syntax file.
autocmd BufNewFile,BufRead *.snip,*.snippets set filetype=snippet
augroup END"}}}
if has('conceal')

View File

@ -300,6 +300,9 @@ snippet *neocomplcache-snippets-complete-unite-action-snippet*
==============================================================================
CHANGELOG *neocomplcache-snippets-complete-changelog*
2012-05-16
- Added ftdetect file.
2012-05-12
- Improved c snip.

2
ftdetect/snippet.vim Normal file
View File

@ -0,0 +1,2 @@
" Detect syntax file.
autocmd BufNewFile,BufRead *.snip,*.snippets set filetype=snippet