aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2020-04-16 18:35:06 +0200
committerMatěj Cepl <mcepl@cepl.eu>2020-04-16 18:35:06 +0200
commite86b4b47462469527dcc655a25d3c60d72652b3e (patch)
treedb0e91e7787eff81f4dfe45813096563a09a9dc2 /init.lua
parent23d226fcc7494104fe8fc23a0f68c4ea104a058e (diff)
downloadvis-par-e86b4b47462469527dcc655a25d3c60d72652b3e.tar.gz
Another attempt to use fmt
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index fbb0cca..a3cbbc9 100644
--- a/init.lua
+++ b/init.lua
@@ -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