0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00
vim/runtime/indent/javascript.vim

19 lines
377 B
VimL
Raw Normal View History

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
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<"