stevearc / conform.nvim

Lightweight yet powerful formatter plugin for Neovim
MIT License
2.55k stars 135 forks source link

Adds Swiftlint formatter #484

Closed jakenvac closed 5 days ago

jakenvac commented 5 days ago

I've added swiftlint as a formatter, I've tested over the weekend and it works great.

The command used to format is as follows:

swiftlint lint \
  --use-stdin \ # take input from stdin
  --fix \ # automatically fix errors where possible
  --format # apply sourcekit lsp default formatting if available
stevearc commented 5 days ago

Thanks for the PR!