From 776be82020864d327129b7d77b13c458c353eff5 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Wed, 25 Apr 2018 09:41:36 +0200 Subject: [PATCH] (hopefully) Fix lua search path --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 26e8c27..13922ea 100644 --- a/vimrc +++ b/vimrc @@ -545,7 +545,7 @@ vnoremap ""y \ :call setreg("\"", substitute(getreg("\""), "\n", "", ""), "v") \ :"`< -let $LUA_PATH = expand(":p:h")."/lua/?.lua" +let $LUA_PATH = $LUA_PATH.";".expand(":p:h")."/lua/?.lua" let g:mooncompile = "!moonc ".expand(":p:h")."/lua" command! Mooncompile silent exec g:mooncompile let g:exe_prg = "moonc -- \| lua -l vim -"