hy everyone! Im trying to dynamically load some variables from a external file to a plugin... but readfile() returns a list and this is not working. My file has 2 multidimensions lists and im using \ to split that array into several lines...
today im trying to do something like this: fun! ReadFile(file) Decho "the variables" if !filereadable(a:file) | return | endif let text = join(readfile(a:file),"\n") call eval(text) Decho g:variable[0] "to test if the array was readed endf there are something like a "import" or a "include" statement, or something like that? thankyou all in advance best regards Tcha-Tcho -- 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