Thinking about TOVL I'm faced by a problem:
I'd like to expose the configuration, so that the user can customize it
easily.
A perfect fit would be just let the user edit or customize the code
snippet then run it in the right context using exec. But exec is
limited, isn't it?

Example:
        exec "echo \"foo\"\n\\.'bar'"

This is this script:
        echo "foo"
        \.'bar'

it should echo foobar.

A use case would by TOVL:

        let d = NewPlugin()

        fun d.PluginLoad()
          exec "user config"
        endfun

Marc

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui