z0mbix / vim-shfmt

Vim plugin for shfmt (https://github.com/mvdan/sh)
MIT License
135 stars 11 forks source link

Autosave Output Slow and Huge #4

Closed stefanthorpe closed 4 years ago

stefanthorpe commented 5 years ago

Firstly love this plugin Thanks!

I have let g:shfmt_fmt_on_save = 1 enabled and it works great. The only issue is that now I've enabled it when I save I get screens and screens of the code image below. The length of this varies from files to file and when it's one or 2 lines its ok. But when its pages, I save then have to sit and repeatedly hit more.

Any Idea how I can suppress this output?

screenshot-2018-11-1831

z0mbix commented 5 years ago

I haven’t seen this behaviour before, but will take a look to see why this may be happening.

z0mbix commented 4 years ago

I have been using this plugin for years and never seen this issue, so I'm presuming it's some kind of specific vim config/plugin problem, so I'm closing this.