Traceback when hitting "TAB" twice after entering "def"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Right after installing UltiSnips:
In a python file, I typed "def" then pressen TAB twice. After the first TAB, the following code has shown up:
def function(arg1):
"""@todo: Docstring for function.
:arg1: @todo
:returns: @todo
"""
pass
The cursor was positioned on "function". Pressing TAB again, the following traceback has shown up:
Traceback (most recent call last):
File "/home/
return f(self, *args, **kwds)
File "/home/
File "/home/
File "/home/
return as_unicode(
vim.error
Seems to be related to SuperTab?
And something else which is strange: I though ultisnips does not come with snippets by default? So why did the first "def<TAB>" work? I had "snipmate" installed before, but uninstalled (and re-started vim) prior to running into this issue.
Output of `sys.version`: 2.7.3 (default, Sep 26 2013, 20:26:19) [GCC 4.6.3]
Which version of ultisnips is this? Where did you clone from? The standard ultisnips comes with snippets.
Try updating your supertab. It might be that it is too old.