David Barnett

Results 409 comments of David Barnett

Can you update to d418de0 if you haven't yet and confirm if your symptoms change? Have you tried any other formatters besides yapf?

Fair point. I just have no explanation for why this exit code/stdout/stderr would blank out the buffer from looking at the code, so I was exploring for some systemic issue,...

Shell alias is completely ignored in vim syscalls IIRC. Did you try setting dartfmt_executable instead? Something like `Glaive codefmt dartfmt_executable='dart format -o show'`? I can't remember if we set that...

Yes, that should work if the `dartfmt_executable` override doesn't. We should still make sure that override works and follow up about the version check. I'd suggest to minimize overhead for...

K, then it needs a fix like 293c2088fc to support spaces. Thanks for checking. In the meantime, your shell script workaround is the best bet.

Our hacky solution when this came up (for imports+formatting in java) was to define a little one-off formatter with its own formatter name that delegated and called formatter A then...

Yes, that's probably close to what I would've done as a one-off workaround. For our purposes on the java thing, we were solving a common issue and couldn't plop arbitrary...

I'm wondering if it would make sense to generalize the flags rather than creating an explosion of flags per formatter. One option would be to have a single dict flag...

> also mb it's possible to get use of this http://editorconfig.org/ ? If we can forward vim's indent settings to formatters, we pretty much have made use of editorconfig, because...