Thursday, November 24, 2011

Backporting script to vim 6.3 (need help)

Hi

I have made some vimscripts for Python programming. I made them for
Vim 7.0, but now I need to get them to work on Vim 6.3 as I have to
work on a system where I cannot update Vim.

My main problem is that I cannot figure out how I can call a function
like one can in Vim 7

function! PM_Insert_Code(function_name) "{{{1
" Calls the given function and inserts the text

let Func = function(a:function_name)
execute "normal! a". Func()

endfunction

function! foo()

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: