cps-org / cps-config

A drop in replacement for pkg-config/pkgconf using cps files
MIT License
15 stars 7 forks source link

editorconfig: define the configuration that is already in use for toml #24

Closed dcbaker closed 3 months ago

bretbrownjr commented 3 months ago

Definitely. I don't even know what toml this issue might be referring to.

dcbaker commented 3 months ago

There is a little test runner that uses a toml description of test cases: https://github.com/cps-org/cps-config/blob/main/tests/cases.toml

bretbrownjr commented 3 months ago

Ah. I saw that since I asked.

Can we use pedantic or something to just dump a schema?

dcbaker commented 3 months ago

We could do that, but that’s orthogonal. All editorconfig is is a cross editor standard for setting things like indent size, indent style. There’s a vscode plugin I’m using, but there’s a lot of supported editors. In this case what’s happening is setting the indent in toml files to 2 spaces instead of the default 4 used in c++ files