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.
today i learnt the hard way that despite what the syntax highlighting in vscode and github will have you believe, comments in
.inifiles only work if they're placed at the start of a line:in this example, the first comment works, but the second one doesn't. instead the value for
idlegets 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.