From 6b0cf2b78e78beb885aa5f293dd05264db09872f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milutin=20Jovanovic=CC=81?= Date: Tue, 30 Jul 2019 07:25:37 -0400 Subject: [PATCH] Now not clobbering width if found in g:figletOpts. --- autoload/FIGlet.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/FIGlet.vim b/autoload/FIGlet.vim index f4f0cf1..4f5267e 100644 --- a/autoload/FIGlet.vim +++ b/autoload/FIGlet.vim @@ -28,7 +28,7 @@ function! RunFIGlet(text, opts, width, font, fontdir) "{{{ endif " set the width to &textwidth or default - if exists('s:overrideWidth') + if exists('s:overrideWidth') || opts =~ '-w' let width = '' elseif '' != a:width let width = '-w ' . a:width