# HG changeset patch # User Edho Arief # Date 1358908839 -25200 # Node ID e0e8de4135bc8ebbdfba2745467a1114c5f7141e # Parent cc72aa61b633503271f8951b51be75984a367949 Testing for function never returns true. Replaced with autocmd. diff -r cc72aa61b633 -r e0e8de4135bc rc/vimrc --- 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()