aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-02-23 19:54:00 +1300
committerTom Ryder <tom@sanctum.geek.nz>2013-02-23 19:54:00 +1300
commitd4ad543da1594cc970555e1c80b0db62d8dec7dc (patch)
tree59f166a13e1f26b1c1c1f9b495c0fb1c232a31a3 /vim/vimrc
parentRemove filetype-specific settings from .vimrc (diff)
downloaddotfiles-d4ad543da1594cc970555e1c80b0db62d8dec7dc.tar.gz
dotfiles-d4ad543da1594cc970555e1c80b0db62d8dec7dc.zip
Wrap has('eval') checks around assignment
:let doesn't work if the +eval feature isn't loaded
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc4
1 files changed, 3 insertions, 1 deletions
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')