bmatcuk / coc-stylelintplus

stylelint extension for coc.nvim supporting additional features
MIT License
48 stars 7 forks source link

Add autofix command #16

Closed sQVe closed 3 years ago

sQVe commented 3 years ago

Hey 👋🏼,

This plugin is working nicely but I'm missing a command to run the fix manually like coc-eslint and coc-stylelint has. coc-eslint uses eslint.executeAutofix for example.

Would it be possible to add this feature? 🙏🏼

bmatcuk commented 3 years ago

Thanks, @sQVe! Support was already there for it, and it would appear in the quick fix list, but it wasn't exposed as a command. I just cut v1.4.0 which exposes it as a command as well so you can do :CocCommand stylelintplus.applyAutoFixes =)

sQVe commented 3 years ago

@bmatcuk That's awesome. Cheers for the quick fix! 🍻