Commits

ZyX_I committed 839f1eb

Added s:g._sid and s:F._functions.s:Eval

  • Participants
  • Parent commits b3b3291

Comments (0)

Files changed (1)

File autoload/frawor.vim

     return       'execute "function s:Eval(expr)\n'.
                 \         '    return eval(a:expr)\n'.
                 \         "endfunction\"\n".
-                \"let s:g={}\n".
-                \"let s:F={'_functions': {}}\n".
+                \"let s:g={'_sid': s:Eval(".string(expr).")}\n".
+                \"let s:F={'_functions': {'s:Eval': function('s:Eval')}}\n".
                 \"let s:g._pluginloaded=".oneload."\n".
                 \((exists('*FraworRegister'))?
                 \   (""):
                 \   ("runtime! plugin/frawor.vim\n")).
                 \"let s:g._frawor=FraworRegister(".string(ver).", ".
-                \                               "s:Eval(".string(expr)."), ".
+                \                               "s:g._sid, ".
                 \                               "expand('<sfile>:p'), ".
                 \                                string(deps).", ".
                 \                                oneload.", s:g, s:F)"