LoginSignup
6
6

More than 5 years have passed since last update.

NeoBundleがhttpsプロトコルを使ってくれなかった

Posted at

会社では外のgit://を叩けないので、下記のようにしてプラギンをhttpsで取得するようにしてた。

let g:neobundle_default_git_protocol='https'

だが、久しぶりに新しいプラギンを追加しようとしたら、どうも git:// で接続しに行っている模様…

なんでだろうなぁ〜と思い調べていたら、ども新しい変数が出来ていて、そちらを使えば解決するぽい

let g:neobundle#types#git#default_protocol = 'https'

TwitterでShougoさんが教えてくれたのだが、古い変数(neobundle_default_git_protocol)は初期化前にセットしていないとデフォルト値で初期化されてしまうとのこと。

この現象はすでに修正ずみだけど、今後は新しい変数(g:neobundle#types#git#default_protocol)を使うほうが無難らしいです。

6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6