Fix #218 add g:neosnippet#expand_word_boundary

This commit is contained in:
Shougo Matsushita
2014-03-11 21:28:47 +09:00
parent de82d40911
commit 5090af586c
4 changed files with 16 additions and 5 deletions

View File

@@ -208,6 +208,13 @@ g:neosnippet#enable_preview *g:neosnippet#enable_preview*
If this variable is not 0, neosnippet will enable the preview
window feature in neocomplcache/neocomplete sources.
The default value is 0.
*g:neosnippet#expand_word_boundary*
g:neosnippet#expand_word_boundary
It it is not 0, neosnippet will expand snippets by a word
boundary.
The default value is 0.
*g:neosnippet#scope_aliases*
@@ -698,7 +705,8 @@ FAQ *neosnippet-faq*
Q: What if I want to expand a snippet trigger after (, [, " etc...:
A: You should use "options word" in the snippet definition. This changes the
expansion behavior to a word boundary.
expansion behavior to a word boundary or set
|g:neosnippet#enable_word_expand|.
>
snippet date
options word