Skip to content

Commit

Permalink
add indent file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Jun 19, 2012
1 parent 7d0e82c commit 79ba612
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions indent/jsx.vim
Original file line number Diff line number Diff line change
@@ -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.