Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (13 sloc) 0.336 kb
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
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
0558bdd9 » Bram Moolenaar
2010-07-11 Improve Javascript indenting. Add "J" flag to 'cino'. (Hari Kumar G)
14 setlocal cinoptions+=j1,J1
c4208da1 » vimboss
2007-05-05 updated for version 7.1a
15
16 let b:undo_indent = "setl cin<"
Something went wrong with that request. Please try again.