You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would just like to know how to pass flags to a formatter, particularly I'm asking for Autopep8. I usually format the code with --aggressive option but I can't seem to be able to do that using this. I read the documentation in the vroom/ and doc/ directories but I couldn't find a way on how to do this. I understand if this is a noobie question - which it is, since I am new to Vim and Vimscript. So any help would be appreciated.
The text was updated successfully, but these errors were encountered:
Just hit this as well. I'd like to use js-beautify -s 2 (2-space indent instead of 4). I wound up using a similar workaround with .jsbeautifyrc.
I agree in principle this is better configured per-project in a config file, although my specific case is to send a one-off fix (I'm not committing the config file since my team doesn't regularly use this tool). Perhaps we could put a warning in the README, explaining multi-arg commands (including CLI switches) aren't supported, and users should consider config files for their formatters?
I would just like to know how to pass flags to a formatter, particularly I'm asking for Autopep8. I usually format the code with
--aggressive
option but I can't seem to be able to do that using this. I read the documentation in thevroom/
anddoc/
directories but I couldn't find a way on how to do this. I understand if this is a noobie question - which it is, since I am new to Vim and Vimscript. So any help would be appreciated.The text was updated successfully, but these errors were encountered: