2007-05-05 17:10:09 +00:00
|
|
|
" Vim indent file
|
|
|
|
" Language: Javascript
|
2015-06-09 19:44:55 +02:00
|
|
|
" Maintainer: Going to be Darrick Wiebe
|
|
|
|
" Last Change: 2015 Jun 09
|
2007-05-05 17:10:09 +00:00
|
|
|
|
|
|
|
" Only load this indent file when no other was loaded.
|
|
|
|
if exists("b:did_indent")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let b:did_indent = 1
|
|
|
|
|
|
|
|
" C indenting is not too bad.
|
|
|
|
setlocal cindent
|
2010-07-11 17:23:02 +02:00
|
|
|
setlocal cinoptions+=j1,J1
|
2015-06-09 19:44:55 +02:00
|
|
|
setlocal cinkeys-=0#
|
|
|
|
setlocal cinkeys+=0]
|
2007-05-05 17:10:09 +00:00
|
|
|
|
|
|
|
let b:undo_indent = "setl cin<"
|