aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-03-10 23:16:19 +0100
committerMatěj Cepl <mcepl@cepl.eu>2020-03-10 23:16:19 +0100
commit23d226fcc7494104fe8fc23a0f68c4ea104a058e (patch)
tree43c32bd5fb446ffcedfce377294f14836465ee75
parentdd2001c698c57c99fa471fc17575e7236a426548 (diff)
downloadvis-par-23d226fcc7494104fe8fc23a0f68c4ea104a058e.tar.gz
Use par instead of fmt(1)
-rw-r--r--init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 9c9cd38..fbb0cca 100644
--- a/init.lua
+++ b/init.lua
@@ -1,7 +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, "fmt -w 65")
+ local status, out, err = vis:pipe(file, range, "par -w 65")
if not status then
vis:info(err)
else