Ultisnips Sluggish when Nesting Snippets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Fix Released
|
Medium
|
Unassigned |
Bug Description
2.7.1 (r271:86832, Jun 16 2011, 16:59:05)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
I'm coding in MacVim Snapshot 61
Plugins currently installed:
bufexplorer matchit supertab vim-latex
color-sample-pack matlab syntastic vim-pathogen
command-t nerd-commenter taglist.vim vim-surround
lilypond nerd-tree ultisnips
The snippet giving me problems (among many) is
snippet fk "frac" w
\frac{$1}{$2}$3
endsnippet
If I nest this multiple times (say, by typing (((fk <tab>)fk <tab>)fk <tab>)...
vim freezes up when I begin to type random letters (say, jqlekjr, etc). I have done a test run of ultisnips with no other plugins present in my .vim folder; the same problem occurs.
I can reproduce this when nesting gets deeper than 6 on my system. I am not sure how to track this down though because profiling inside of vim never worked properly for me. If anyone has any idea, I am all ears.