# zig init: simplify templating logic \(\#24170\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/180e8442af0c29924e021aed327bb4070665af65)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 180e8442af0c29924e021aed327bb4070665af65

Requested commit: 180e8442af0c29924e021aed327bb4070665af65

Commit: 180e8442af0c29924e021aed327bb4070665af65

Tree: a86d459db3355833525a86d0181effeac69b83d7

Author: Loris Cro

Committer: GitHub

## Message

```
zig init: simplify templating logic (#24170)

and also rename `advancedPrint` to `bufferedPrint` in the zig init templates

These are left overs from my previous changes to zig init.

The new templating system removes LITNAME because the new restrictions on package names make it redundant with NAME, and the use of underscores for marking templated identifiers lets us template variable names while still keeping zig fmt happy.
```

## Parents

- [a74119ac49230a40012c0dd979e4c35eefcfd66a](https://git.cafe/gitcafe/zig/commit/a74119ac49230a40012c0dd979e4c35eefcfd66a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/180e8442af0c29924e021aed327bb4070665af65?format=markdown)
