vwxyutarooo / coc-xo

XO extension for coc.nvim
MIT License
0 stars 0 forks source link

The `xo.executeAutofix` command doesn't work #1

Open marekbrainhub opened 2 years ago

marekbrainhub commented 2 years ago

When running :CocCommand xo.executeAutofix the [coc.nvim] Failed to apply ESLint fixes to the document. Please consider opening an issue with steps to reproduce. error appears. I suspect this is due to the applyAllFixes command not being implemented in the XO server but I don't know enough about coc extensions to know for sure.

vwxyutarooo commented 2 years ago

Thanks for reporting and that's true the command of xo.executeAutofix won't work. I personally don't have enough time to implement these functionalists, to be honest. Try :CocFix instead, it works to apply auto-fix one by one though. Or a contribution will be welcomed.