From 2cf196f71f1dd893c4ed4ffd6fa7346153143d84 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Tue, 5 Jan 2021 12:00:04 +0100 Subject: [PATCH] Simplify VisualExe plugin --- vim/plugin/vexe.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vim/plugin/vexe.vim b/vim/plugin/vexe.vim index 946e6bd..204698d 100644 --- a/vim/plugin/vexe.vim +++ b/vim/plugin/vexe.vim @@ -1,5 +1,4 @@ " --- VISUAL EXECUTE --- -let $LUA_PATH=expand(':p:h:h')."/lua/?.lua;;" -let g:exe_prg = 'lua -e "draw=require[[draw]]" -' +let g:exe_prg = 'lua' vnoremap :exec "'<,'>!".g:exe_prg inoremap 0v$:exec "'<,'>!".g:exe_prg