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 -"