Permalink
Browse files

Mention two-space indents (#41)

  • Loading branch information...
1 parent dff2a57 commit 3c6b3387b80c786c040a64cbba5b8be6db52c070 @kchmck committed Aug 5, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 readme.md
View
@@ -186,3 +186,10 @@ With this, folding is disabled by default but can be quickly toggled per-file
by hitting `zi`. To enable it by default, remove `nofoldenable`:
au BufNewFile,BufReadPost *.coffee setl foldmethod=indent
+
+#### Two-space indentation
+
+To get standard two-space indentation in CoffeeScript files, add this line to
+your `vimrc`:
+
+ au BufNewFile,BufReadPost *.coffee setl shiftwidth=2 expandtab

0 comments on commit 3c6b338

Please sign in to comment.