diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-26 21:20:45 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-26 21:20:45 +0200 |
commit | 388a5d4f20b4b64341d1604aa238cab85827b892 (patch) | |
tree | 9b6f90c08120369741136623a70307bb6da1b6a8 /runtime/syntax/javascript.vim | |
parent | fcb0b61d15f66f0e9116a6bc56d9d8105bb913cf (diff) | |
download | vim-git-388a5d4f20b4b64341d1604aa238cab85827b892.tar.gz |
Update runtime files
Diffstat (limited to 'runtime/syntax/javascript.vim')
-rw-r--r-- | runtime/syntax/javascript.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/syntax/javascript.vim b/runtime/syntax/javascript.vim index 5c6439f9e..8a5e10b26 100644 --- a/runtime/syntax/javascript.vim +++ b/runtime/syntax/javascript.vim @@ -7,7 +7,7 @@ " (ss) repaired several quoting and grouping glitches " (ss) fixed regex parsing issue with multiple qualifiers [gi] " (ss) additional factoring of keywords, globals, and members -" Last Change: 2019 Sep 27 +" Last Change: 2020 May 14 " 2013 Jun 12: adjusted javaScriptRegexpString (Kevin Locke) " 2018 Apr 14: adjusted javaScriptRegexpString (LongJohnCoder) @@ -77,10 +77,10 @@ else syn match javaScriptParens "[()]" endif -syn sync fromstart -syn sync maxlines=100 - if main_syntax == "javascript" + syn sync fromstart + syn sync maxlines=100 + syn sync ccomment javaScriptComment endif |