On 2021-04-02, Peng Yu wrote: > > You can enable it in your vimrc for sh and bash files like this: > > > > au FileType sh setlocal equalprg=shfmt > > I put the above line in my ~/.vimrc. It just works. Thanks. > > It seems that this is the simplest solution. > > I don't know what is the advantage of the shfmt vim plugin is. Do you know?
No. I wondered that, too. Regards, Gary -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20210403015057.GC28724%40phoenix.