Skip to content

Instantly share code, notes, and snippets.

@usaturn
Created August 25, 2016 17:53
Show Gist options
  • Save usaturn/7457f6cdf037d270dbe799318f7c0e81 to your computer and use it in GitHub Desktop.
Save usaturn/7457f6cdf037d270dbe799318f7c0e81 to your computer and use it in GitHub Desktop.
" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=~/.vim/bundle/neobundle.vim/
" Required:
call neobundle#begin(expand('~/.vim/bundle/'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" My Bundles here:
" Refer to |:NeoBundle-examples|.
" Note: You don't set neobundle setting in .gvimrc!
NeoBundle 'basyura/TweetVim'
NeoBundle 'tyru/open-browser.vim'
NeoBundle 'basyura/twibill.vim'
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
@usaturn
Copy link
Author

usaturn commented Aug 25, 2016

◆ Vim & Curl x86版とx64版で実行
:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Apr 9 2016 22:46:23)
MS-Windows 64 ビット GUI 版
適用済パッチ: 1-1721

;!curl --version
C:\windows\system32\cmd.exe /c (curl --version)
curl 7.48.0 (x86_64-pc-win32) libcurl/7.48.0 OpenSSL/1.0.2h nghttp2/1.10.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM SSL HTTP2
Hit any key to close this window...

:version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 20 2016 00:19:44)
MS-Windows 32 ビット GUI 版
適用済パッチ: 1-1944

;!curl --version
C:\windows\system32\cmd.exe /c (curl --version)
curl 7.50.1 (i386-pc-win32) libcurl/7.50.1 OpenSSL/1.0.2h zlib/1.2.8 WinIDN libssh2/1.7.0 nghttp2/1.13.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz TLS-SRP HTTP2
Hit any key to close this window...

◆内部 UTF-8 に設定
vim\switches\enabled\utf-8.vim

◆OS
Windows10 x64

◆挙動
token 取得済みの .tweetvim をコピーした状態だと
「twibill#json#decode の処理中にエラーが検出されました」が表示される。

.tweetvim を削除した状態ではブラウザが起動してtwitterの認証関連が表示されるはずがブラウザは起動せず「no tweet」と表示される。

◆その他
既存の同一機種、同一OSでは正常に動いており、動かない場合の違いがわからない。

@basyura
Copy link

basyura commented Aug 26, 2016

詳細はよく分かってませんが、
cygwin の curl を使っていて、cygwin をアップデートしたタイミングで同じようなエラーがでるようになったので
curl の本家から exe をとってパスを通して使ってます。

@usaturn
Copy link
Author

usaturn commented Apr 19, 2017

大体古い curl だと大丈夫だったという遅レスで申し訳ありません・・・

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment