Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab and indentation differences cause spacing issues #30

Open
rossbeehler opened this issue Aug 20, 2011 · 1 comment
Open

Tab and indentation differences cause spacing issues #30

rossbeehler opened this issue Aug 20, 2011 · 1 comment

Comments

@rossbeehler
Copy link
Contributor

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant