diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-02-23 19:54:00 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-02-23 19:54:00 +1300 |
commit | d4ad543da1594cc970555e1c80b0db62d8dec7dc (patch) | |
tree | 59f166a13e1f26b1c1c1f9b495c0fb1c232a31a3 /vim | |
parent | Remove filetype-specific settings from .vimrc (diff) | |
download | dotfiles-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')
-rw-r--r-- | vim/vimrc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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') |