view runtime/indent/javascript.vim @ 8550:56d0eb96c25a v7.4.1565

commit https://github.com/vim/vim/commit/f1551964448607f8222de2d8f0992ea43eb2fe67 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 15 12:55:58 2016 +0100 patch 7.4.1565 Problem: Crash when assert_equal() runs into a NULL string. Solution: Check for NULL. (Dominique) Add a test.
author Christian Brabandt <cb@256bit.org>
date Tue, 15 Mar 2016 13:00:11 +0100
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<"