What do you think about having variables inside a function compile to local to function scope? Lookup :h local-variable in Vim. The main reason I would like this is, as the help explains:
without prepending "l:" you may run into reserved variable names.
This is exactly the type of thing riml would be great for. I would love to not have to write l:my_var inside all my functions and still know it won't refer to other variables outside the function scope.
What do you think about having variables inside a function compile to local to function scope? Lookup
:h local-variable
in Vim. The main reason I would like this is, as the help explains:This is exactly the type of thing riml would be great for. I would love to not have to write
l:my_var
inside all my functions and still know it won't refer to other variables outside the function scope.What are your thoughts on this?