You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed by this diff, though not sure what it breaks:
diff --git a/indent/javascript.vim b/indent/javascript.vim
index 22893fe..b34deee 100644
--- a/indent/javascript.vim
+++ b/indent/javascript.vim
@@ -39,7 +39,7 @@ let s:syng_strcom = 'javaScript\%(String\|RegexpString\|CommentTodo\|LineComment
let s:syng_string = 'javaScript\%(RegexpString\)'
" Regex of syntax group names that are strings or documentation.
-let s:syng_stringdoc = 'javaScriptDocComment'
+let s:syng_stringdoc = 'javaScriptDocComment\|javaScriptComment'
" Expression used to check whether we should skip a match with searchpair().
let s:skip_expr = "synIDattr(synID(line('.'),col('.'),1),'name') =~ '".s:syng_strcom."'"
If you type a
/*
, then press enter, the*
to mark continuation is indented to match the/
, not the*
.Desired behaviour:
Actual behaviour:
The text was updated successfully, but these errors were encountered: