From ba1f099db5afeedb323c05127df1cc34df85ec85 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Wed, 9 Oct 2019 20:17:28 +0200 Subject: Further refactored statusline and splash --- plugin/max-splash.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/max-splash.vim') diff --git a/plugin/max-splash.vim b/plugin/max-splash.vim index 6b5e70d..bc578e1 100644 --- a/plugin/max-splash.vim +++ b/plugin/max-splash.vim @@ -19,7 +19,7 @@ if empty(argv()) \ map(copy(v:oldfiles), \ {_, p->expand(p)}), 'v:val =~ "'.getcwd().'/"'), 'filereadable(v:val)'), \ {_, p->{'filename': fnamemodify(p, ':.')}}) - \ }) | lopen | only | setfiletype qf + \ }) | exec ':lopen '.getloclist(0, {'size' : 1}).size | setfiletype qf | wincmd w endif " http://vimdoc.sourceforge.net/htmldoc/quickfix.html#:caddexpr -- cgit v1.2.3