From d4ad543da1594cc970555e1c80b0db62d8dec7dc Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 23 Feb 2013 19:54:00 +1300 Subject: Wrap has('eval') checks around assignment :let doesn't work if the +eval feature isn't loaded --- vim/vimrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vim') diff --git a/vim/vimrc b/vim/vimrc index 97635662..3c815378 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -39,7 +39,9 @@ else endif " Clipboard -let &clipboard = 'autoselect,exclude:cons\|linux\|putty\|screen' +if has('eval') + let &clipboard = 'autoselect,exclude:cons\|linux\|putty\|screen' +endif " Colors if has('syntax') -- cgit v1.2.3