1
0
forked from aniani/vim

patch 8.1.1017: off-by-one error in filetype detection

Problem:    Off-by-one error in filetype detection.
Solution:   Also check the last line of the file.
This commit is contained in:
Bram Moolenaar
2019-03-17 17:16:12 +01:00
parent 26967617a3
commit 493fbe4abe
2 changed files with 8 additions and 6 deletions

View File

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