Permalink
Browse files

Fixed a bug with anonymous pasting.

There is no fucking 'nil' in VimL. There is no fucking anything in VimL.
  • Loading branch information...
1 parent 549abac commit e2f50e2eef4b779afdcbff7e63b8d25a528c39aa @Raynes committed Jan 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/refheap.vim
View
@@ -119,7 +119,7 @@ $languages.default("Plain Text")
user = VIM::evaluate("g:refheap_username")
token = VIM::evaluate("g:refheap_token")
-if user && token
+if not user.empty? && token.empty?
$heap = Refheap::Paste.new(user, token)
else
$heap = Refheap::Paste.new()

0 comments on commit e2f50e2

Please sign in to comment.