Fix #218 add g:neosnippet#expand_word_boundary
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user