Commit Graph

20 Commits

Author SHA1 Message Date
2a33b499a3 runtime(make): syntax highlighting update for makeDefine
Previously contents in makeDefine are nearly highlighted as Define, so
comments and targets shares the same color as Define, making it hard to
distinguish if someone write large block of targets-recipes as defined
function.

Such scenario is common in building data analysis pipeline. Recipes are
reused and targets may have multiple variables, and a single % implicit
rule is not enough.

closes: #18403

Signed-off-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-10-12 15:20:28 +00:00
f35bd76b31 patch 9.1.1307: make syntax does not reliably detect different flavors
Problem:  GNU extensions, such as `ifeq` and `wildcard` function, are
          highlighted in BSDmakefile
Solution: detect BSD, GNU, or Microsoft implementation according to
	  filename, user-defined global variables, or file contents

closes: #17089

Co-authored-by: Roland Hieber <rohieb@users.noreply.github.com>
Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-04-15 19:20:06 +02:00
eb4b903c9b patch 9.1.0616: filetype: Make syntax highlighting off for MS Makefiles
Problem:  filetype: Make syntax highlighting off for MS Makefiles
Solution: Try to detect MS Makefiles and adjust syntax rules to it.
          (Ken Takata)

Highlighting of variable expansion in Microsoft Makefile can be broken.
E.g.:
2979cfc262/src/Make_mvc.mak (L1331)

Don't use backslash as escape characters if `make_microsoft` is set.
Also fix that `make_no_comments` was not considered if `make_microsoft`
was set.

Also add description for `make_microsoft` and `make_no_comments` to the
documentation and include a very simple filetype test

closes: #15341

Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Ken Takata <kentkt@csc.jp>
2024-07-25 21:16:37 +02:00
76db9e0763 Update runtime files 2022-11-09 21:21:04 +00:00
b529cfbd04 Update runtime files 2022-07-25 15:42:07 +01:00
2cfb4a2a72 Update runtime files 2020-05-07 18:56:00 +02:00
b17893aa94 Update runtime files 2020-03-14 08:19:51 +01:00
ade0d39468 Update runtime files. 2020-01-21 22:33:58 +01:00
9834b96820 Update version 8.2 notes and make syntax. 2019-12-04 20:43:03 +01:00
723dd946f9 Update runtime files. 2019-04-04 13:11:03 +02:00
4c92e75dd4 Update runtime files. 2019-02-17 21:18:32 +01:00
f37506f60f Updated runtime files. Remove HiLink commands. 2016-08-31 22:22:10 +02:00
89bcfda683 Updated runtime files. Remove version checks for Vim older than 6.0. 2016-08-30 23:26:57 +02:00
2b8388bd01 Updated runtime files. 2015-02-28 13:11:45 +01:00
0c5fa7d740 Updated runtime files. 2012-10-05 22:26:30 +02:00
e37d50a5de updated for version 7.2c-000 2008-08-06 17:06:04 +00:00
9964e468c0 updated for version 7.1a 2007-05-05 17:54:07 +00:00
8dff818edf updated for version 7.0c11 2006-04-06 20:18:50 +00:00
0e21a3f623 updated for version 7.0067 2005-04-17 20:28:32 +00:00
071d4279d6 updated for version 7.0001 2004-06-13 20:20:40 +00:00