g:UltiSnipsExpandTrigger doesn't work as expected
Bug #1260941 reported by
Julian Martin Grinblat
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When editing html files, snippets work wonderfully as long as there's a whitespace before the snippet keyword. That means that, for example, if I were to try and insert a snippet directly after an html tag, it won't work. For example:
<div>input|
Triggering g:UltiSnipsExpa
<div> input|
Hitting <C-j> in that case works perfectly. I would expect both of them to work.
The output of :py import sys; print sys.version:
2.7.5 (default, May 29 2013, 02:28:51)
[GCC 4.8.0]
Thanks!
To post a comment you must log in.
you need to use the inword (i) or word boundary (w) options - see the docs https:/ /github. com/SirVer/ ultisnips/ blob/master/ doc/UltiSnips. txt#L605