Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Mention two-space indents (#41)

  • Loading branch information...
commit 3c6b3387b80c786c040a64cbba5b8be6db52c070 1 parent dff2a57
@kchmck authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 readme.md
View
7 readme.md
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.