From b9776df54065eaee475eae20583a627f9279d7eb Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 6 Feb 2023 21:49:57 +0200 Subject: Commented out to investigate saving more than one file outcome --- autoload/scripts.vim | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'autoload') diff --git a/autoload/scripts.vim b/autoload/scripts.vim index 5c695d3..77bd813 100644 --- a/autoload/scripts.vim +++ b/autoload/scripts.vim @@ -1,15 +1,15 @@ -if !exists('*scripts#save_and_exec') - function! scripts#save_and_exec() abort - if &filetype == 'vim' - :silent! write - :source % - elseif &filetype == 'lua' - :silent! write - :luafile % - endif - - return - endfunction -endif +"if !exists('*scripts#save_and_exec') +" function! scripts#save_and_exec() abort +" if &filetype == 'vim' +" :silent! write +" :source % +" elseif &filetype == 'lua' +" :silent! write +" :luafile % +" endif +" +" return +" endfunction +"endif -- cgit v1.2.3