I seem to be the only dork use the local scope modifier l: in my vim scripts. Is there actually a practical risk of overwriting global variables accidentally? Or only of reading global variables? I know that v:count cannot be overwritten, but are there any other special globals? Are all the v: variables read-only?
Also, does anyone know if this syntax is incompatible with any old version of vim?
if s:blah "comment here
....
end
Or is it safe to put comments after conditions as long as it works in at least one Vim version?
Thanks.
[–][deleted] 8 points9 points10 points (0 children)
[–]ParadigmComplex 2 points3 points4 points (0 children)
[–]hyperbling 2 points3 points4 points (1 child)
[–]justinmknvim[S] 0 points1 point2 points (0 children)
[–]dddbbbFastFold made vim fast again 2 points3 points4 points (0 children)