Simplify VisualExe plugin

This commit is contained in:
Talia 2021-01-05 12:00:04 +01:00
parent 84f4e2b7df
commit 2cf196f71f
1 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,4 @@
" --- VISUAL EXECUTE ---
let $LUA_PATH=expand('<sfile>:p:h:h')."/lua/?.lua;;"
let g:exe_prg = 'lua -e "draw=require[[draw]]" -'
let g:exe_prg = 'lua'
vnoremap <CR> :<C-U>exec "'<,'>!".g:exe_prg<CR>
inoremap <C-Space> <C-[>0v$:<C-U>exec "'<,'>!".g:exe_prg<CR>