vim-ruby-refactoring icon indicating copy to clipboard operation
vim-ruby-refactoring copied to clipboard

Tab and indentation differences cause spacing issues

Open rossbeehler opened this issue 14 years ago • 1 comments

Here's the tab/indentation/spacing section of my .vimrc:

se smartindent se sw=2 se ts=2 se expandtab

With those settings, many cucumber scenarios fail. I've played around with no/other settings and can't get them to all pass, so we need either the recommended settings and/or enhancements to support a wider range of settings.

rossbeehler avatar Aug 20 '11 15:08 rossbeehler

After some more playing, here's the .vimrc settings that got all the scenarios to pass:

set sw=2 set ts=2 set expandtab set nocompatible " We're running Vim, not Vi! syntax on " Enable syntax highlighting filetype on " Enable filetype detection filetype indent on " Enable filetype-specific indenting filetype plugin on " Enable filetype-specific plugins

rossbeehler avatar Aug 20 '11 15:08 rossbeehler