diff --git a/autoload/neocomplcache/sources/snippets_complete.vim b/autoload/neocomplcache/sources/snippets_complete.vim index 931f358..b15a4db 100644 --- a/autoload/neocomplcache/sources/snippets_complete.vim +++ b/autoload/neocomplcache/sources/snippets_complete.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: snippets_complete.vim " AUTHOR: Shougo Matsushita -" Last Modified: 02 Aug 2012. +" Last Modified: 27 Aug 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 @@ -254,6 +254,7 @@ function! neocomplcache#sources#snippets_complete#force_expandable()"{{{ " Found snippet trigger. return s:get_cursor_keyword_snippet(snippets, cur_text) != '' + \ || s:get_cursor_snippet(snippets, cur_text) != '' endfunction"}}} function! neocomplcache#sources#snippets_complete#jumpable()"{{{ " Found snippet placeholder. diff --git a/doc/neocomplcache-snippets-complete.txt b/doc/neocomplcache-snippets-complete.txt index 198cbfc..681941c 100644 --- a/doc/neocomplcache-snippets-complete.txt +++ b/doc/neocomplcache-snippets-complete.txt @@ -309,6 +309,9 @@ snippet *neocomplcache-snippets-complete-unite-action-snippet* ============================================================================== CHANGELOG *neocomplcache-snippets-complete-changelog* +2012-08-27 +- Fixed neocomplcache#sources#snippets_complete#force_expandable(). + 2012-08-02 - Improved caching snippet files.