view runtime/indent/javascript.vim @ 2095:8aa3cd045aef v7.2.379

updated for version 7.2.379 Problem: 'eventignore' is set to an invalid value inside ":doau". (Antony Scriven) Solution: Don't include the leading comma when the option was empty.
author Bram Moolenaar <bram@zimbu.org>
date Tue, 02 Mar 2010 12:48:05 +0100
parents 2b8ff9e3c520
children 5ffe000a9ecf
line wrap: on
line source

" Vim indent file
" Language:	Javascript
" Maintainer:	None!  Wanna improve this?
" Last Change:	2007 Jan 22

" 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

let b:undo_indent = "setl cin<"