mirror of
https://github.com/vim/vim.git
synced 2026-01-15 12:22:36 +01:00
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>
17 lines
142 B
Makefile
17 lines
142 B
Makefile
# comment
|
|
|
|
a = b
|
|
$(a) = 1
|
|
|
|
$(a)::
|
|
@echo double-colon rule
|
|
|
|
$(a) += output
|
|
|
|
define say
|
|
echo $1
|
|
endef
|
|
|
|
default:
|
|
$(call say,"Hello (world)!")
|