Here passes the option i to ultisnips. From the doc it requires the trigger text is at the beginning of the line or is preceded by whitespaces, so member functions, e.g. vector.push_back(...), cannot be completed, since the completed item only contains push_back(...) and it doesn't meet the requirement of option i.
Also, there are two is in this line, the first i should be the description, which is unused at this point from UltiSnips' doc. Two is are confusing and unnecessary, so I replaced the first i with ""
https://github.com/ncm2/ncm2-ultisnips/blob/15432d7933cfb855599442a67d6f39ddb706c737/autoload/ncm2_ultisnips.vim#L45
Here passes the option
i
to ultisnips. From the doc it requires the trigger text is at the beginning of the line or is preceded by whitespaces, so member functions, e.g.vector.push_back(...)
, cannot be completed, since the completed item only containspush_back(...)
and it doesn't meet the requirement of optioni
.Also, there are two
i
s in this line, the firsti
should be the description, which is unused at this point from UltiSnips' doc. Twoi
s are confusing and unnecessary, so I replaced the firsti
with""