- Search snippets recursively.

This commit is contained in:
Shougo Matsushita 2012-10-19 16:07:15 +09:00
parent de6dd9aae2
commit 355789b029
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
"=============================================================================
" FILE: neosnippet.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu@gmail.com>
" Last Modified: 18 Oct 2012.
" Last Modified: 19 Oct 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
@ -302,7 +302,7 @@ function! neosnippet#make_cache(filetype)"{{{
\ + split(globpath(join(snippets_dir, ','),
\ filetype . '_*.snip*'), '\n')
\ + split(globpath(join(snippets_dir, ','),
\ filetype . '/*.snip*'), '\n')
\ filetype . '/**/*.snip*'), '\n')
for snippets_file in reverse(snippets_files)
call s:load_snippets(snippet, snippets_file)
endfor

View File

@ -433,6 +433,7 @@ CHANGELOG *neosnippet-changelog*
2012-10-19
- Fixed syntax highlight.
- Improved documentation.
- Search snippets recursively.
2012-10-18
- Fixed s:get_sources_list().