On Saturday, April 14, 2012 11:03:28 PM UTC+2, Mark Wilden wrote: > > > On Thursday, April 12, 2012 12:15:56 AM UTC-7, a_olme wrote: > > > > To try to confirm with my teams indenting rules for ruby code I would > > > > need to change the indenting of my rspec files so that the do that > > > > follows the it doesn't cause an extra indentation. > > > > > > > describe "some behavior" do > > __it "should work do > > __#... > > __end > > end > > > > is what "I" like to have but i seem to get is > > > > describe "some behavior" do > > __it "should work do > > ____#... > > __end > > end > > Oh, sorry, then - I don't know. That's just standard Ruby indentation, of > course. > > I'm curious about this style, though. Is it because the 'describe's tend to > have only one 'it'? > > ///ark > > Mark Wilden > Web Applications Developer > California Academy of Sciences
It is from netbeans 7.0 auto formatting but I dont know if some one fiddle with it to get it like that but now it is the default so I have to adapt vim or emacs to do the same or i would be fledged by the rest of the team if I accidentally reformatted the code :). -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
