1
0
forked from aniani/vim

patch 8.2.4737: // in JavaScript string recognized as comment

Problem:    // in JavaScript string recognized as comment.
Solution:   Only check for linecomment if 'cindent' is set. (closes #10151)
This commit is contained in:
Bram Moolenaar
2022-04-11 17:36:37 +01:00
parent 825b55e695
commit 1655619717
3 changed files with 17 additions and 2 deletions

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4737,
/**/
4736,
/**/