2009/11/12 Frédéric Bron <frederic.b...@m4x.org>: >> I've been there (had patches rejected because of bad indentation) and I >> remember the pain it was to completely reindent the file (as part of that >> process I learned to use the automatic indentation in vim). But my code is >> easier to read (which is *really* important for Scheme code IMO), so it's >> worth the hassle. > > I have been there too but I still do not understand scheme indentation > which does not help me understand the code (on the contrary it makes > it harder to read). > But I know from programming that everybody has its own style of > indenting and it is good practice that in a project the same > indentation style be applied. However, I am using vim and .scm code is > not automatically recognized and indented. Can you provide your method > to correctly indent with vim?
I recently posted a custom configuration I use with Vim to help with formatting Scheme. You can find it here: http://lists.gnu.org/archive/html/lilypond-devel/2009-11/msg00058.html If you have any questions about it, let me know. -Patrick _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel