mattn / vimtweak

VimTweak : The tweaking dll for GVim.exe.
http://www.vim.org/scripts/script.php?script_id=687
71 stars 15 forks source link

Use the dll from the plugin directory #3

Closed li-ruijie closed 7 years ago

li-ruijie commented 7 years ago

Simple edit to use the dll from plugin dir

li-ruijie commented 7 years ago

by the way, there is a pure vimscript + python approach: https://gist.github.com/skywind3000/8eb41acd9d5175715694c765f92fa667

li-ruijie commented 7 years ago

And I think it is possible to have a pure vimscript version since vimscript can call the user32.dll.

mattn commented 7 years ago

If you use python, it's NOT pure Vim script. It's just python.

mattn commented 7 years ago

Thank you.

li-ruijie commented 7 years ago

yes, the linked version uses python.

I was saying that the way the various functions are invoked is through user32.dll. It is therefore possible to code up a purely vimscript version without using python although the python version seems quite elegant. It may also just be my inexperience with vimscript.