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