view runtime/indent/javascript.vim @ 9605:846d4bad2df7 v7.4.2080

commit https://github.com/vim/vim/commit/b869c0da31716ff14bbfd63346d140d0a1d68af7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 20 00:10:51 2016 +0200 patch 7.4.2080 Problem: When using PERROR() on some systems assert_fails() does not see the error. Solution: Make PERROR() always report the error.
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Jul 2016 00:15:06 +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<"