Fix a typo (end instead of endif). Classic error when writing vimscripts.