Snippets containing single quote in trigger will break snippets list
Bug #774917 reported by
allait
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Trying to list all javascript snippets leads to a vim error, because of the '':f snippet.
Passing a list repr to vimscript escapes single quotes with backslashes, while vim escapes single quotes with '', which leads to vim error when trying to list snippets.
Related branches
lp:~ryan.wooden/ultisnips/ultisnips-fixes
- SirVer: Pending requested
-
Diff: 174 lines (+71/-15)3 files modifiedplugin/UltiSnips/Util.py (+15/-0)
plugin/UltiSnips/__init__.py (+18/-14)
test.py (+38/-1)
To post a comment you must log in.
Fixed in r288 by merging ryans branch which also contain work from allait.