diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-04-16 18:35:06 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2020-04-16 18:35:06 +0200 |
commit | e86b4b47462469527dcc655a25d3c60d72652b3e (patch) | |
tree | db0e91e7787eff81f4dfe45813096563a09a9dc2 /init.lua | |
parent | 23d226fcc7494104fe8fc23a0f68c4ea104a058e (diff) | |
download | vis-par-e86b4b47462469527dcc655a25d3c60d72652b3e.tar.gz |
Another attempt to use fmt
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ require('vis') vis:operator_new("gq", function(file, range, pos) - -- local status, out, err = vis:pipe(file, range, "fmt -w 65") - local status, out, err = vis:pipe(file, range, "par -w 65") + local status, out, err = vis:pipe(file, range, "fmt -c -w 65") + -- local status, out, err = vis:pipe(file, range, "par -w 65") if not status then vis:info(err) else |