NanoMichael / MicroTeX

A dynamic, cross-platform, and embeddable LaTeX rendering library
MIT License
417 stars 69 forks source link

platform/gtk: fix GIR annotations that broke due to clang-format #151

Closed sp1ritCS closed 1 year ago

sp1ritCS commented 1 year ago

689ca83fc9926487fcda40f0d4104fd8c686724c broke some gir annotations, this should avoid this in the future

NanoMichael commented 1 year ago

Maybe we should disable clang-format in the platform/gtk directory?

sp1ritCS commented 1 year ago

Maybe we should disable clang-format in the platform/gtk directory?

we could do that (and then just enforce some semblance of style manually). But if I've understood clang-format correctly, it just accepts a list files that it'll format, not entire directories. Did you just run over the whole codebase with something like clang-format -i $(find . -name="*.[ch]" | tr "\n" " ")? In that case we could add a -not -path thing ofc.