Use vim variable instead of script variable.