Removed lua "vim" plugin to "draw"

This commit is contained in:
Talia 2020-10-08 10:10:08 +02:00
parent 418872d3b0
commit b7808bcd59
2 changed files with 2 additions and 14 deletions

View file

@ -74,20 +74,8 @@ line2 = (len=80) ->
print '┌'..string.rep('─', len-2)..'┐' print '┌'..string.rep('─', len-2)..'┐'
print '└'..string.rep('─', len-2)..'┘' print '└'..string.rep('─', len-2)..'┘'
classbox = (name="Class") -> print [[
print vim.col {
']]..name..[[' -- Title
{ {
'+ getValue' :tree, :box, :tab, :col, :row, :line, :line2
}
{
'- value'
}
}
]]
{
:tree, :box, :tab, :col, :row, :line, :line2, :classbox
-- Aliases -- Aliases
table: tab table: tab
} }

View file

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