summaryrefslogtreecommitdiff
path: root/runtime/syntax/javascript.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-07-24 19:53:36 +0200
committerBram Moolenaar <Bram@vim.org>2013-07-24 19:53:36 +0200
commite2db695d313174f6d6e6a79388a262e4e53d387e (patch)
tree2ff47e019a28756c665e0daa273388af53b81028 /runtime/syntax/javascript.vim
parentff18df03c3b714caca4f76e50defcb29eb523e15 (diff)
downloadvim-git-e2db695d313174f6d6e6a79388a262e4e53d387e.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/syntax/javascript.vim')
-rw-r--r--runtime/syntax/javascript.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/syntax/javascript.vim b/runtime/syntax/javascript.vim
index ba906664b..1b20f987d 100644
--- a/runtime/syntax/javascript.vim
+++ b/runtime/syntax/javascript.vim
@@ -22,6 +22,8 @@ if !exists("main_syntax")
finish
endif
let main_syntax = 'javascript'
+elseif exists("b:current_syntax") && b:current_syntax == "javascript"
+ finish
endif
let s:cpo_save = &cpo