Comment 1 for bug 44431

Revision history for this message
Allison Karlitskaya (desrt) wrote :

The problem is in edit.c in the function ins_bs() at this line:

        if (mode == BACKSPACE_LINE && curbuf->b_p_ai

as it turns out, the default Ubuntu vim config has 'autoindent' _disabled_ (ie: curbuf->p_p_ai is 0). For some reason, the autoindenting still happens though.

So basically, with the Ubuntu config:
  - autoindent is actually enabled (in that it occurs)
  - but the autoindent option proper is not actually set (so the backspace code breaks)