Sample Header Ad - 728x90

yamlfix not using configuration + (neo)vim usage

0 votes
1 answer
203 views
I'm using yamlfix with [ale](https://github.com/dense-analysis/ale) in vim. I followed [these steps](https://lyz-code.github.io/yamlfix/) because I wanted to remove the automatic "---" adding on top of the file every time I save my work (and some others default configurations). For some reason, the file is correctly fixed, but my configuration is skipped.. So I decided to try with CLI in order to test my config. yamlfix exits without error, fixes my file, but is completely skipping my configuration.. The configuration is in ~/pyproject.toml:
# pyproject.toml
[tool.yamlfix]
explicit_start = false
The command is
yamlfix -c ~/pyproject.toml file.yaml
Do I miss something ? Do I need something more ?
Asked by Corentin Michel (3 rep)
Dec 22, 2023, 06:49 AM
Last activity: Dec 22, 2023, 01:45 PM