view runtime/indent/javascript.vim @ 8813:b92938076e40 v7.4.1694

commit https://github.com/vim/vim/commit/f28d87146544e3b5d70aaa6a2513019f6de043ad Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 2 15:59:40 2016 +0200 patch 7.4.1694 Problem: Win32 gvim doesn't work with "dvorakj" input method. Solution: Wait for QS_ALLINPUT instead of QS_ALLEVENTS. (Yukihiro Nakadaira)
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Apr 2016 16:00:05 +0200
parents 0303182665d5
children 9eaf8ef656e9
line wrap: on
line source

" Vim indent file
" Language:	Javascript
" Maintainer:	Going to be Darrick Wiebe
" Last Change:	2015 Jun 09

" 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
setlocal cinkeys-=0#
setlocal cinkeys+=0]

let b:undo_indent = "setl cin<"