changeset 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 cc72aa61b633
children e9b25cf035d9
files rc/vimrc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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()