Hi,

GNU Make does support dash "-" in the variable name.

vim nicely highlight variable names at setting time, but ignore variables with a dash.

A patch is attached to fix that.

--
Jérôme

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff -r b0a227941705 runtime/syntax/make.vim
--- a/runtime/syntax/make.vim	Tue Feb 03 19:13:34 2015 +0100
+++ b/runtime/syntax/make.vim	Wed Feb 04 17:26:37 2015 +0100
@@ -43,7 +43,7 @@
 syn region makeIdent	start="\${" skip="\\}\|\\\\" end="}" contains=makeStatement,makeIdent,makeSString,makeDString
 syn match makeIdent	"\$\$\w*"
 syn match makeIdent	"\$[^({]"
-syn match makeIdent	"^ *\a\w*\s*[:+?!*]="me=e-2
+syn match makeIdent	"^ *\a\%(\w\|-\)*\s*[:+?!*]="me=e-2
 syn match makeIdent	"^ *\a\w*\s*="me=e-1
 syn match makeIdent	"%"
 

Raspunde prin e-mail lui