Showing the changes to lib/vimfiles/indent/javascript.vim (1 of 1336 files). Show all
Unified · Split
| @@ -0,0 +1,15 @@ | ||
| 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<" | |