4 Commits
Author SHA1 Message Date
Quentin BurgessandGitHub 3d574ccf48 misc(make): trigger new parser only when new shared cache is enabled (#83) 2025-07-16 12:16:33 +02:00
Quentin BurgessandGitHub 5ecd353c81 feat(chroma/make): new makefile colorization caching strategy (#82)
* fix(chroma/make): huge delay on big units

* fix(fast-make): code-style indentation

* feat(fast-make): allow shared cache

One may enable the shared cache by setting the following prior to
loading the fast-synthax-highlighting module

```sh
typeset -gA FAST_HIGHLIGHT
FAST_HIGHLIGHT[chroma-make-cache-global]=1
```

This new implementation change the way the cached makefile' parsed
content are expired. Prior to this commit, cached item expired after
7s. The new implementation get ride of the timer limit and
replace it with a good old "is my file content's different"
2025-07-16 10:37:53 +02:00
dcee72bb99 fix(make): colorize targets from imported make-files (#81)
* fix(make): colorize targets from imported make-files

Old behavior use to parse the content of the invoked `Makefile` unit
to define targets.

Such parsing didn't take into account targets from unit imported by the
current (ex: targets defined in files imported such as `import
./targets/help.mk`).

New behavior pass the content of the Makefile unit post lexing (aka
`make -f Makefile -pn` instead of the plain unit.

* Update →chroma/-make.ch

---------

Co-authored-by: Philipp Schmitt <pschmitt@users.noreply.github.com>
2025-06-25 09:44:25 +02:00
Quentin BurgessandGitHub 6f57bbe57c feat(chrome): support for podman (#80) 2025-06-25 09:42:43 +02:00