From 2f5d0bc2538828af3c9c37bebb7e90dddc5b3133 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Sat, 20 Oct 2018 10:23:16 +0200 Subject: [PATCH] Fix exe_prg in vimrc --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index da6c767..b88648e 100644 --- a/vimrc +++ b/vimrc @@ -673,7 +673,7 @@ vnoremap ""y let g:mooncompile = "!moonc ".expand(":p:h")."/lua" command! Mooncompile silent exec g:mooncompile -let g:exe_prg = 'moonc -- \| lua -e "package.path=package.path..[[;'.expand(':p:h').'\lua\?.lua]];vim=require[[vim]]" -' +let g:exe_prg = 'moonc -- | lua -e "package.path=package.path..[[;'.expand(':p:h').'/lua/?.lua]];vim=require[[vim]]" -' vnoremap :exec "'<,'>!".g:exe_prg inoremap 0v$:exec "'<,'>!".g:exe_prg