Closed NSHaoSong closed 7 months ago
swift-format won't pick up .swift-format config file in stdin mode. We need to set stdin = false and --in-place to make it work with conform.nvim.
swift-format
.swift-format
stdin = false
--in-place
conform.nvim
apple/swift-format/README.md
-i/--in-place: Overwrites the input files when formatting instead of printing the results to standard output. No backup of the original file is made before it is overwritten.
-i/--in-place
Fix https://github.com/stevearc/conform.nvim/issues/211
LGTM
swift-format
won't pick up.swift-format
config file in stdin mode. We need to setstdin = false
and--in-place
to make it work withconform.nvim
.apple/swift-format/README.md
Fix https://github.com/stevearc/conform.nvim/issues/211