shfmt plugin for nvim.
- Neovim >= 0.7.0
- shfmt
use "yuchanns/shfmt.nvim"
require("shfmt").setup({
-- Default configs
cmd = "shfmt",
args = { "-l", "-w" },
auto_format = false,
})
-- using lua function
: lua require("shfmt").formatting()
Bug reports and feature requests are welcome! Feel free to make PRs!