Mercurial > hg > RemoteEditor > vim7
annotate runtime/indent/javascript.vim @ 0:76efa0be13f1
Initial revision
author | atsuki |
---|---|
date | Sat, 10 Nov 2007 15:07:22 +0900 |
parents | |
children | c16898406ff2 |
rev | line source |
---|---|
0 | 1 " 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. | |
7 if exists("b:did_indent") | |
8 finish | |
9 endif | |
10 let b:did_indent = 1 | |
11 | |
12 " C indenting is not too bad. | |
13 setlocal cindent | |
14 | |
15 let b:undo_indent = "setl cin<" |