summary refs log tree commit diff
path: root/pkgs/misc/vim-plugins
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-03-03 23:36:52 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-03-04 13:16:46 +0100
commit8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c (patch)
treec0dd5fc648b9dec402e30c3e1addd162f558207f /pkgs/misc/vim-plugins
parentd8a7b507d9aa9fdedfed0ffcb4e8f3eea74e2274 (diff)
downloadnixpkgs-8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c.tar
nixpkgs-8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c.tar.gz
nixpkgs-8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c.tar.bz2
nixpkgs-8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c.tar.lz
nixpkgs-8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c.tar.xz
nixpkgs-8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c.tar.zst
nixpkgs-8977b1f2eef8adcffc708dd61edcb1e1f6f8c61c.zip
vim-plugins: use https for github repositories
Diffstat (limited to 'pkgs/misc/vim-plugins')
-rw-r--r--pkgs/misc/vim-plugins/vim-utils.nix2
-rw-r--r--pkgs/misc/vim-plugins/vim2nix/autoload/nix.vim4
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/misc/vim-plugins/vim-utils.nix b/pkgs/misc/vim-plugins/vim-utils.nix
index 4b754f15c0f..141dde92762 100644
--- a/pkgs/misc/vim-plugins/vim-utils.nix
+++ b/pkgs/misc/vim-plugins/vim-utils.nix
@@ -254,7 +254,7 @@ let
           let &rtp.=(empty(&rtp)?"":',').c.plugin_root_dir.'/vim-addon-manager'
           if !isdirectory(c.plugin_root_dir.'/vim-addon-manager/autoload')
             " checkout VAM
-            execute '!git clone --depth=1 git://github.com/MarcWeber/vim-addon-manager '
+            execute '!git clone --depth=1 https://github.com/MarcWeber/vim-addon-manager '
                 \       shellescape(c.plugin_root_dir.'/vim-addon-manager', 1)
           endif
         endif
diff --git a/pkgs/misc/vim-plugins/vim2nix/autoload/nix.vim b/pkgs/misc/vim-plugins/vim2nix/autoload/nix.vim
index 376b7c674d6..89a96133fba 100644
--- a/pkgs/misc/vim-plugins/vim2nix/autoload/nix.vim
+++ b/pkgs/misc/vim-plugins/vim2nix/autoload/nix.vim
@@ -134,10 +134,10 @@ fun! nix#AddNixDerivation(opts, cache, name, ...) abort
     if len(list) > 0
       if '' != list[2]
         let name = list[2]
-        let repository = { 'type': 'git', 'owner': list[1], 'repo': list[2], 'url': 'git://github.com/'.list[1].'/'.list[2] }
+        let repository = { 'type': 'git', 'owner': list[1], 'repo': list[2], 'url': 'https://github.com/'.list[1].'/'.list[2] }
       else
         let name = list[1]
-        let repository = { 'type': 'git', 'owner': list[1], 'repo': 'vim-addon-'.list[1], 'url': 'git://github.com/'.list[1].'/vim-addon-'.list[1] }
+        let repository = { 'type': 'git', 'owner': list[1], 'repo': 'vim-addon-'.list[1], 'url': 'https://github.com/'.list[1].'/vim-addon-'.list[1] }
       endif
     else
       let repository = get(g:vim_addon_manager.plugin_sources, a:name, {})