- Added ftdetect file.
This commit is contained in:
parent
fa8cc3d935
commit
cc5d07175c
@ -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')
|
||||
|
@ -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
2
ftdetect/snippet.vim
Normal file
@ -0,0 +1,2 @@
|
||||
" Detect syntax file.
|
||||
autocmd BufNewFile,BufRead *.snip,*.snippets set filetype=snippet
|
Loading…
Reference in New Issue
Block a user