From 6cb0c96b66c1c2554ba0ebd8ead7f9ac938ce49a Mon Sep 17 00:00:00 2001 From: bounceme Date: Wed, 20 Apr 2016 17:04:57 -0700 Subject: [PATCH] old changes reset --- indent/javascript.vim | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/indent/javascript.vim b/indent/javascript.vim index 82cd621c..c3d331ce 100644 --- a/indent/javascript.vim +++ b/indent/javascript.vim @@ -43,7 +43,10 @@ endif let s:js_keywords = '^\s*\(break\|catch\|const\|continue\|debugger\|delete\|do\|else\|finally\|for\|function\|if\|in\|instanceof\|let\|new\|return\|switch\|this\|throw\|try\|typeof\|var\|void\|while\|with\)' let s:expr_case = '^\s*\(case\s\+[^\:]*\|default\)\s*:\s*' " Regex of syntax group names that are or delimit string or are comments. -let s:syng_strcom = 'string\|regex\|comment\c' +let s:syng_strcom = '\%(\%(template\)\@