Fix lua path to 5.3

This commit is contained in:
Talia 2018-09-09 16:40:55 +02:00
parent e0c2d933a3
commit a74637fa79

2
vimrc
View file

@ -666,7 +666,7 @@ vnoremap <C-CR> ""y<CR>
\ :call setreg("\"", substitute(getreg("\""), "\n", "", ""), "v")<CR>
\ :<C-r>"<CR>`<
let $LUA_PATH = system("lua -e 'print(package.path)'").";".expand("<sfile>:p:h")."/lua/?.lua"
let $LUA_PATH_5_3 = system("lua -e 'print(package.path)'").";".expand("<sfile>:p:h")."/lua/?.lua"
let g:mooncompile = "!moonc ".expand("<sfile>:p:h")."/lua"
command! Mooncompile silent exec g:mooncompile
let g:exe_prg = "moonc -- \| lua -l vim -"