]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(make): Prevent makeTargetinDefine matching extra line
authorYiyang Wu <xgreenlandforwyy@gmail.com>
Sat, 25 Oct 2025 14:19:07 +0000 (14:19 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 25 Oct 2025 14:19:07 +0000 (14:19 +0000)
commit7193cab6c88a6d81c9f302bf7f97810765e6d2be
treeac0a347fa9f54a6bebea58a7eb8c966e422c17d9
parent418ff5185e89cac2ad95e1ec1f5aa71353508591
runtime(make): Prevent makeTargetinDefine matching extra line

This fixes a bug introduced in 2a33b499a3d7f46dc307234847a6562cef6cf1d8:
When makeTargetinDefine ends with makeIdent, makeSpecTarget or
makeComment, the following line is also matched as makeTargetinDefine.

So, add keepend to prevent that just as makeTarget does.

related: #18403
closes: #18570

Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
Signed-off-by: Roland Hieber <rohieb+vim-iR0jGdkV@rohieb.name>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/make.vim