Permalink
Browse files

add indent file.

  • Loading branch information...
1 parent 7d0e82c commit 79ba612c892178e5eedb5c9a7af56033f50a819c @mattn mattn committed Jun 19, 2012
Showing with 13 additions and 0 deletions.
  1. +13 −0 indent/jsx.vim
View
@@ -0,0 +1,13 @@
+" Vim indent file
+" Language: JSX
+" Maintainer:
+
+if exists("b:did_indent")
+ finish
+endif
+let b:did_indent = 1
+
+setlocal cindent
+setlocal cinoptions+=j1,J1
+
+let b:undo_indent = "setl cin<"

0 comments on commit 79ba612

Please sign in to comment.