chtenb

Results 263 comments of chtenb

> But if there are certain need-to-haves that my proposal doesn't address I'd like to hear about it. Perhaps not a hard need-to-have, but my personal strong would-like-to-have is a...

I'm encountering this issue as well. Albeit ugly, you can workaround this issue by adding a Unit parameter to the function in question.

Strange. Looks like it doesn't receive anything on the stdin. But since that works for other formatters, there is probably something wrong with latexindent or your environment. Perhaps @ettom could...

@Sciencentistguy Do other formatters just work on your machine, or do they have the same problem?

Perhaps you guys are in different shell environments and/or operating systems that makes latexindent.pl behave differently. The (python3) line that communicates with the formatter can be found here: https://github.com/Chiel92/vim-autoformat/blob/4159c742ed0b547026b9e398ef78b31527b5e167/plugin/autoformat.vim#L264 You...

If you look at defaults.vim line 192 you can see that the eslint logic is horrifyingly complicated. I don't know why eslint makes it so difficult to run itself, but...

Feel free to propose any clarifications in a PR

The lists of default formatters are defined in https://github.com/Chiel92/vim-autoformat/blob/master/plugin/defaults.vim They are just tried in order

Can you give some context for this change? Is dartfmt deprecated? Will vim-autoformat stop working for any users using dartfmt?

I see that this is a relatively new progression. It would make more sense to add your new definition but then insert it before the old definition in the formatter...