Added missing endfunction to .vimrc