Issue #1 new

Add s:Execute

ZyX_I
repo owner created an issue

Add {{{s:Execute}}} function that has similar purpose as existing {{{s:Eval}}}, but contains only {{{:execute a:s}}} instead of {{{:return eval(a:s)}}} from {{{s:Eval}}}. Use this function to define functions, mappings, commands and autocommands so that they now will have “correct” script ID attached to them and be able to use script-local variables and functions without using {{{<SID>}}} to {{{<SNR>}}} expansion hack that works for functions only.

It may be useful to add references to these functions to {{{s:_eval}}} and {{{s:_execute}}} variables.

Comments (0)

  1. Log in to comment