blob: a83d34b1100a5d19c74da7f3ac5d50a6b9c5cce4 [file] [log] [blame]
Bram Moolenaardd2a3cd2007-05-05 17:10:09 +00001" Vim indent file
2" Language: Javascript
3" Maintainer: None! Wanna improve this?
4" Last Change: 2007 Jan 22
5
6" Only load this indent file when no other was loaded.
7if exists("b:did_indent")
8 finish
9endif
10let b:did_indent = 1
11
12" C indenting is not too bad.
13setlocal cindent
Bram Moolenaar3acfc302010-07-11 17:23:02 +020014setlocal cinoptions+=j1,J1
Bram Moolenaardd2a3cd2007-05-05 17:10:09 +000015
16let b:undo_indent = "setl cin<"