Skip to content

Ability to set non-string values #2

@paul-hansen

Description

@paul-hansen

Thanks for making this crate, it's almost exactly what I was looking for.

Currently

tomato set language-server.rust-analyzer.config.cargo.noDefaultFeatures true ./.helix/languages.toml

Results in:

[language-server.rust-analyzer.config.cargo]
noDefaultFeatures = "true"

Note that true is a string not a boolean value. Ideally if I don't provide quotes around the value it would try to parse boolean, int and floats from the value and fallback to being a string if it isn't one of those types. Supporting times would be nice too for completeness, but possibly more work and not near as common as the others.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions