]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(make): Makefile highlighting breaks with ')' in string
authorBeleswar Prasad Padhi <beleswarprasad@gmail.com>
Tue, 23 Dec 2025 21:32:10 +0000 (21:32 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 23 Dec 2025 21:32:10 +0000 (21:32 +0000)
commit519dc391d8fe2f2182160027d2cecc154ea749d0
tree386a1bf0a1cb9573ef49545576ecdfcb5a5a2d68
parentaded55463a150bc9c77852f8e2c931535bedad3e
runtime(make): Makefile highlighting breaks with ')' in string

Problem:  Makefile syntax highlighting incorrectly ends function calls
          when encountering ')' inside double or single quoted strings,
          causing incorrect highlighting for the remainder of the line.
Solution: Add makeDString and makeSString to the contains list for
          makeIdent regions. This allows strings to be recognized inside
          variable references and function calls.

fixes:  #18687
closes: #18818

Signed-off-by: Beleswar Prasad Padhi <beleswarprasad@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/syntax/make.vim
runtime/syntax/testdir/dumps/make_01_00.dump
runtime/syntax/testdir/input/make_01.mak