Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add indent file.

  • Loading branch information...
commit 79ba612c892178e5eedb5c9a7af56033f50a819c 1 parent 7d0e82c
@mattn mattn authored
Showing with 13 additions and 0 deletions.
  1. +13 −0 indent/jsx.vim
View
13 indent/jsx.vim
@@ -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<"
Please sign in to comment.
Something went wrong with that request. Please try again.