diff rc/vimrc @ 448:e0e8de4135bc

Testing for function never returns true. Replaced with autocmd.
author Edho Arief <edho@myconan.net>
date Wed, 23 Jan 2013 09:40:39 +0700
parents 3022c5d1f8ed
children abb434518e1f
line wrap: on
line diff
--- a/rc/vimrc	Tue Jan 22 23:09:52 2013 +0700
+++ b/rc/vimrc	Wed Jan 23 09:40:39 2013 +0700
@@ -63,7 +63,7 @@
   autocmd BufRead,BufNewFile *.coffee :set ft=coffee
 endif
 
-if has('function')
+if has('autocmd')
   "Restore cursor position
   set viminfo='10,\"100,:20,%,n~/.viminfo
   function! ResCur()