mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 13:58:18 +00:00
runtime/javascript: 388a5d4f20b4b64341d1604aa238cab85827b892
Port javascript syntax file only. Ref https://github.com/neovim/neovim/issues/13185
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
" (ss) repaired several quoting and grouping glitches
|
" (ss) repaired several quoting and grouping glitches
|
||||||
" (ss) fixed regex parsing issue with multiple qualifiers [gi]
|
" (ss) fixed regex parsing issue with multiple qualifiers [gi]
|
||||||
" (ss) additional factoring of keywords, globals, and members
|
" (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)
|
" 2013 Jun 12: adjusted javaScriptRegexpString (Kevin Locke)
|
||||||
" 2018 Apr 14: adjusted javaScriptRegexpString (LongJohnCoder)
|
" 2018 Apr 14: adjusted javaScriptRegexpString (LongJohnCoder)
|
||||||
|
|
||||||
@@ -77,10 +77,10 @@ else
|
|||||||
syn match javaScriptParens "[()]"
|
syn match javaScriptParens "[()]"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syn sync fromstart
|
|
||||||
syn sync maxlines=100
|
|
||||||
|
|
||||||
if main_syntax == "javascript"
|
if main_syntax == "javascript"
|
||||||
|
syn sync fromstart
|
||||||
|
syn sync maxlines=100
|
||||||
|
|
||||||
syn sync ccomment javaScriptComment
|
syn sync ccomment javaScriptComment
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user