From 5b77877888162f4e415fe9a7b8c5e9fb5dfb6ee1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 27 Sep 2017 20:43:42 +0200 Subject: Add syntax files from upstream vim repository --- indent/javascript.vim | 453 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 453 insertions(+) (limited to 'indent/javascript.vim') diff --git a/indent/javascript.vim b/indent/javascript.vim index 100efbc5..37bd631a 100644 --- a/indent/javascript.vim +++ b/indent/javascript.vim @@ -1,3 +1,456 @@ +if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'vim') == -1 + +" Vim indent file +" Language: Javascript +" Maintainer: Chris Paul ( https://github.com/bounceme ) +" URL: https://github.com/pangloss/vim-javascript +" Last Change: September 18, 2017 + +" Only load this indent file when no other was loaded. +if exists('b:did_indent') + finish +endif +let b:did_indent = 1 + +" indent correctly if inside