Skip to content

support configuring px using toml (or yaml or json or anything other than ini) #265

@DetachHead

Description

@DetachHead

today i learnt the hard way that despite what the syntax highlighting in vscode and github will have you believe, comments in .ini files only work if they're placed at the start of a line:

[settings]
; Idle timeout in seconds for HTTP connect sessions. Valid integer, default: 30
idle = 300 ; 5 minutes

in this example, the first comment works, but the second one doesn't. instead the value for idle gets set to the string "300 ; 5 minutes" and causes px to crash.

it would be nice if px could be configured using a less terrible language such as toml.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions