UltiSnips runs into an recursive loop when latex.snippets extends tex.snippets

Bug #720611 reported by SirVer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UltiSnips
Fix Released
Low
Unassigned

Bug Description

This was reported by Timo via mail

To reproduce the problem:
echo "extends tex" > latex.snippets
vim test.tex
:set ft=tex
ib<Tab>

UltiSnips dies in a recursive loop.

Related branches

Revision history for this message
SirVer (sirver) wrote :

The problem is that latex.snippets is interpreted as *tex.snippets, that is a file that handles ft=tex. If this file extends ft=tex, it effectively extends itself recursively. UltiSnips should catch this with a useful error message and not recurse.

Changed in ultisnips:
importance: Medium → Low
Revision history for this message
SirVer (sirver) wrote :

Ryan fixed this, in trunk in r255

Changed in ultisnips:
status: Confirmed → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Release in 1.4.

Changed in ultisnips:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.