You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 are your thoughts on this?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: