Too many Tabs with Python Code
Bug #1265112 reported by
James Pace
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
UltiSnips |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When using the UltiSnips, the automatically placed code bodies are tabbed too many times over. For example:
I type in:
for<tab>
Output:
for item in iterable:
<tab><tab>pass
Expected Output:
for item in iterable:
<tab>pass
This problem doesn't happen when editing, for example, C code.
Relevant piece of vimrc:
set autoindent
set tabstop=4
set backspace=
I'm also using supertab.
To post a comment you must log in.
Cannot reproduce and the snippet is correct: https:/ /github. com/SirVer/ ultisnips/ blob/master/ UltiSnips/ python. snippets# L18
check also
set expandtab
set sts
set sw
I guess the problem lays in inconsistent configurations with those.