summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-17 17:16:12 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-17 17:16:12 +0100
commit493fbe4abee660d30b4f2aef87b754b0a720213c (patch)
treec3ac9eaa2480b0dd117a4ac71cc2e213a543c6b2 /src
parent26967617a30e55aedc98b8f14b841d88469abd0e (diff)
downloadvim-git-493fbe4abee660d30b4f2aef87b754b0a720213c.tar.gz
patch 8.1.1017: off-by-one error in filetype detectionv8.1.1017
Problem: Off-by-one error in filetype detection. Solution: Also check the last line of the file.
Diffstat (limited to 'src')
-rw-r--r--src/version.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c
index ff3628a8c..a49f6fb0c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -780,6 +780,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1017,
+/**/
1016,
/**/
1015,