Fixed Mooncompile Command
This commit is contained in:
parent
37bdfddcd7
commit
d36e470044
1 changed files with 2 additions and 1 deletions
3
vimrc
3
vimrc
|
@ -410,7 +410,8 @@ nnoremap Y y$
|
||||||
|
|
||||||
" --- VISUAL EXECUTE ---
|
" --- VISUAL EXECUTE ---
|
||||||
let $LUA_PATH = $LUA_PATH.";".expand("<sfile>:p:h")."/lua/?.lua"
|
let $LUA_PATH = $LUA_PATH.";".expand("<sfile>:p:h")."/lua/?.lua"
|
||||||
command! Mooncompile silent exec "!moonc ".expand("<sfile>:p:h")."/lua"
|
let g:mooncompile = "!moonc ".expand("<sfile>:p:h")."/lua"
|
||||||
|
command! Mooncompile silent exec g:mooncompile
|
||||||
let g:exe_prg = "moonc -- | lua -l vim -"
|
let g:exe_prg = "moonc -- | lua -l vim -"
|
||||||
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
|
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
|
||||||
vnoremap <C-CR> ""y<CR>
|
vnoremap <C-CR> ""y<CR>
|
||||||
|
|
Loading…
Reference in a new issue