vimscript中python返回数据给vimscript
vim吧
全部回复
仅看楼主
level 1
最近在学习用VimL和python写vim插件,碰到些问题,求大神指导
比如
function! GetWord()
let string = "some text"
python << endpython
""这里是python code
some_other_text = "some other text"
"然后想要把some_other_text赋值给string
""应该怎么做呢
endpython
return
endfunction
求大神指导
2014年03月25日 11点03分 1
level 10
[吐舌]不明觉厉
2014年03月25日 14点03分 2
1