'Converts spaces to proper indentation respecting Vim settings.'

def spaces_to_indent(self, indent):

    if (not self._expandtab):
        indent = indent.replace(('    ' * self._tabstop), ' DCTB ')
    return indent
