We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52ec1f4 commit e163ff4Copy full SHA for e163ff4
src/buffer.c
@@ -5096,7 +5096,8 @@ chk_modeline(lnum, flags)
5096
if ((prev != -1 && STRNCMP(s, "ex:", (size_t)3) == 0)
5097
|| STRNCMP(s, "vi:", (size_t)3) == 0)
5098
break;
5099
- if (STRNCMP(s, "vim", 3) == 0)
+ /* Accept both "vim" and "Vim". */
5100
+ if ((s[0] == 'v' || s[0] == 'V') && s[1] == 'i' && s[2] == 'm')
5101
{
5102
if (s[3] == '<' || s[3] == '=' || s[3] == '>')
5103
e = s + 4;
src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
728
729
static int included_patches[] =
730
{ /* Add new patch number below this line */
731
+/**/
732
+ 1249,
733
/**/
734
1248,
735
0 commit comments