Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add coding style note to PATCHES

Mention that the preferred coding style uses four spaces rather than a hard
tab, and how to set that in Vim.
  • Loading branch information...
commit f7f1254711836d6a787455341f9490d580aaa2eb 1 parent e1087fd
Thomas Adam authored Hannes Schueller committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 PATCHES
@@ -39,6 +39,17 @@ pass the "--global" option, as shown.
This is a one-off operation once the repository has been cloned, assuming
this information has ever been set before.
+Coding style
+Vimprobable uses four spaces by default, rather than literal hard tabs.
+Most editors by default honour hard tabs only. If you're using Vim (which
+isn't an unreasonable assumption ;)) you can set the following:
+:set expandtab ts=4 sts=4 sw=4
+This should help reduce the number of whitespace fixups needed.
Use of topic branches
Please sign in to comment.
Something went wrong with that request. Please try again.