From 29b3dcc45ec728668b059a50119298300a41f15c Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Sat, 2 Jan 2021 11:00:51 +0100 Subject: [PATCH] Doc: Use HTTPS everywhere (#4020) --- autoload/SpaceVim/api/messletters.vim | 10 +++++----- autoload/SpaceVim/bin/get_complete | 2 +- autoload/SpaceVim/layers/lang/scala.vim | 4 ++-- config/plugins/open-browser.vim | 8 ++++---- doc/SpaceVim.txt | 4 ++-- docs/_layouts/default.html | 4 ++-- docs/cn/documentation.md | 2 +- docs/cn/layers/git.md | 2 +- docs/cn/layers/lang/elm.md | 2 +- docs/cn/layers/lang/php.md | 6 +++--- docs/cn/layers/lang/scheme.md | 2 +- docs/documentation.md | 2 +- docs/feed.xml | 2 +- docs/layers/git.md | 2 +- docs/layers/lang/elm.md | 2 +- docs/layers/lang/scheme.md | 2 +- 16 files changed, 28 insertions(+), 28 deletions(-) diff --git a/autoload/SpaceVim/api/messletters.vim b/autoload/SpaceVim/api/messletters.vim index 30f232793..7f4f56e05 100644 --- a/autoload/SpaceVim/api/messletters.vim +++ b/autoload/SpaceVim/api/messletters.vim @@ -31,7 +31,7 @@ let s:chars['bubble_num'] = function('s:bubble_num') " 1: 1 ➛ ➀ " 2: 1 ➛ ⓵ function! s:circled_num(num, type) abort - " http://www.unicode.org/charts/beta/nameslist/n_2460.html + " https://www.unicode.org/charts/beta/nameslist/n_2460.html if a:type == 0 if a:num == 0 return nr2char(9471) @@ -78,7 +78,7 @@ let s:chars['index_num'] = function('s:index_num') function! s:parenthesized_num(num) abort - " http://www.unicode.org/charts/beta/nameslist/n_2460.html + " https://www.unicode.org/charts/beta/nameslist/n_2460.html if index(range(1, 20), a:num) != -1 return nr2char(9331 + a:num) else @@ -89,7 +89,7 @@ endfunction let s:chars['parenthesized_num'] = function('s:parenthesized_num') function! s:num_period(num) abort - " http://www.unicode.org/charts/beta/nameslist/n_2460.html + " https://www.unicode.org/charts/beta/nameslist/n_2460.html if index(range(1, 20), a:num) != -1 return nr2char(9351 + a:num) else @@ -100,7 +100,7 @@ endfunction let s:chars['num_period'] = function('s:num_period') function! s:parenthesized_letter(letter) abort - " http://www.unicode.org/charts/beta/nameslist/n_2460.html + " https://www.unicode.org/charts/beta/nameslist/n_2460.html if index(range(1, 26), char2nr(a:letter) - 96) != -1 return nr2char(9371 + char2nr(a:letter) - 96) else @@ -111,7 +111,7 @@ endfunction let s:chars['parenthesized_letter'] = function('s:parenthesized_letter') function! s:circled_letter(letter) abort - " http://www.unicode.org/charts/beta/nameslist/n_2460.html + " https://www.unicode.org/charts/beta/nameslist/n_2460.html if index(range(1, 26), char2nr(a:letter) - 64) != -1 return nr2char(9397 + char2nr(a:letter) - 64) elseif index(range(1, 26), char2nr(a:letter) - 96) != -1 diff --git a/autoload/SpaceVim/bin/get_complete b/autoload/SpaceVim/bin/get_complete index 9c734cdc9..05a70a86e 100755 --- a/autoload/SpaceVim/bin/get_complete +++ b/autoload/SpaceVim/bin/get_complete @@ -2,7 +2,7 @@ # Author: Brian Beffa # Original source: https://brbsix.github.io/2015/11/29/accessing-tab-completion-programmatically-in-bash/ -# License: LGPLv3 (http://www.gnu.org/licenses/lgpl-3.0.txt) +# License: LGPLv3 (https://www.gnu.org/licenses/lgpl-3.0.txt) # get_completions(){ diff --git a/autoload/SpaceVim/layers/lang/scala.vim b/autoload/SpaceVim/layers/lang/scala.vim index 0e9ddccd9..a7e8569a9 100644 --- a/autoload/SpaceVim/layers/lang/scala.vim +++ b/autoload/SpaceVim/layers/lang/scala.vim @@ -84,7 +84,7 @@ scriptencoding utf-8 " normal SPC l u find Usages of cursor symbol " " < -" SpaceVim uses [`ensime-vim`](http://ensime.github.io/editors/vim/install/) +" SpaceVim uses [`ensime-vim`](https://ensime.github.io/editors/vim/install/) " to provide code completion, format, sort imports etc, if has python support. " Also you can enable lsp layer to has a better experience. " @@ -100,7 +100,7 @@ scriptencoding utf-8 " @subsection Ensime-vim setup steps " " The following is quick install steps, if you want to see complete details, -" please see: [`ensime-vim`](http://ensime.github.io/editors/vim/install/) +" please see: [`ensime-vim`](https://ensime.github.io/editors/vim/install/) " " 1. Install vim`s plugin and its dependencies as following. " diff --git a/config/plugins/open-browser.vim b/config/plugins/open-browser.vim index e356fd3aa..b00ac8261 100644 --- a/config/plugins/open-browser.vim +++ b/config/plugins/open-browser.vim @@ -13,9 +13,9 @@ nmap gx (openbrowser-smart-search) " If it looks like URI, Open selected URI. " Otherwise, Search selected word. vmap gx (openbrowser-smart-search) -" vnoremap gob :OpenBrowser http://www.baidu.com/s?wd==expand("") -" nnoremap gob :OpenBrowser http://www.baidu.com/s?wd==expand("") -" vnoremap gog :OpenBrowser http://www.google.com/?#newwindow=1&q==expand("") -" nnoremap gog :OpenBrowser http://www.google.com/?#newwindow=1&q==expand("") +" vnoremap gob :OpenBrowser https://www.baidu.com/s?wd==expand("") +" nnoremap gob :OpenBrowser https://www.baidu.com/s?wd==expand("") +" vnoremap gog :OpenBrowser https://www.google.com/?#newwindow=1&q==expand("") +" nnoremap gog :OpenBrowser https://www.google.com/?#newwindow=1&q==expand("") " vnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/=expand("") " nnoremap goi :OpenBrowserSmartSearch http://www.iciba.com/=expand("") diff --git a/doc/SpaceVim.txt b/doc/SpaceVim.txt index f89b4eef1..54124fc96 100644 --- a/doc/SpaceVim.txt +++ b/doc/SpaceVim.txt @@ -3226,7 +3226,7 @@ MAPPINGS normal SPC l u find Usages of cursor symbol < -SpaceVim uses [`ensime-vim`](http://ensime.github.io/editors/vim/install/) to +SpaceVim uses [`ensime-vim`](https://ensime.github.io/editors/vim/install/) to provide code completion, format, sort imports etc, if has python support. Also you can enable lsp layer to has a better experience. @@ -3242,7 +3242,7 @@ than other servers(LanguageClient-neovim or vim-lsp). Please make sure that ENSIME-VIM SETUP STEPS The following is quick install steps, if you want to see complete details, -please see: [`ensime-vim`](http://ensime.github.io/editors/vim/install/) +please see: [`ensime-vim`](https://ensime.github.io/editors/vim/install/) 1. Install vim`s plugin and its dependencies as following. diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 666ff89d4..fa0f907e7 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -259,7 +259,7 @@ id="textbox" type="text" placeholder="Search on Google..." - onkeydown="if (event.keyCode == 13 || event.which == 13) { location='http://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}" + onkeydown="if (event.keyCode == 13 || event.which == 13) { location='https://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}" />

{% else %} @@ -276,7 +276,7 @@ id="textbox" type="text" placeholder="Search on Google..." - onkeydown="if (event.keyCode == 13 || event.which == 13) { location='http://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}" + onkeydown="if (event.keyCode == 13 || event.which == 13) { location='https://www.google.com/search?q=' + encodeURIComponent(document.getElementById('textbox').value) + '+site%3Aspacevim.org';}" />

{% endif %} diff --git a/docs/cn/documentation.md b/docs/cn/documentation.md index 719f97c14..57f0de612 100644 --- a/docs/cn/documentation.md +++ b/docs/cn/documentation.md @@ -2215,7 +2215,7 @@ SpaceVim 通过默认通过 [checkers](../layers/checkers/) 模块来进行文 ### 格式规范 -SpaceVim 添加了 [EditorConfig](http://editorconfig.org/) 支持,通过一个配置文件来为不同的文件格式设置对应的代码格式规范, +SpaceVim 添加了 [EditorConfig](https://editorconfig.org/) 支持,通过一个配置文件来为不同的文件格式设置对应的代码格式规范, 这一工具兼容多种文本编辑器和集成开发环境。 更多配置方式,可以阅读其官方文档:[editorconfig-vim package’s documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md). diff --git a/docs/cn/layers/git.md b/docs/cn/layers/git.md index fef99c231..0f6bef7e8 100644 --- a/docs/cn/layers/git.md +++ b/docs/cn/layers/git.md @@ -16,7 +16,7 @@ lang: zh ## 模块描述 -这一模块为 SpaceVim 提供了 [Git](http://git-scm.com/) 支持,根据当前 Vim 版本特性,选择 gina 或者 gita 作为默认的后台 Git 插件。 +这一模块为 SpaceVim 提供了 [Git](https://git-scm.com/) 支持,根据当前 Vim 版本特性,选择 gina 或者 gita 作为默认的后台 Git 插件。 ## 启用模块 diff --git a/docs/cn/layers/lang/elm.md b/docs/cn/layers/lang/elm.md index 2e4d0fd99..be3117a50 100644 --- a/docs/cn/layers/lang/elm.md +++ b/docs/cn/layers/lang/elm.md @@ -38,7 +38,7 @@ lang: zh ### 依赖安装 -首先,需要安装 [elm](http://elm-lang.org/) 语言,最方便的安装方式是使用官方的 npm 包。 +首先,需要安装 [elm](https://elm-lang.org/) 语言,最方便的安装方式是使用官方的 npm 包。 ```sh npm install -g elm diff --git a/docs/cn/layers/lang/php.md b/docs/cn/layers/lang/php.md index 3abb9995e..c283c0618 100644 --- a/docs/cn/layers/lang/php.md +++ b/docs/cn/layers/lang/php.md @@ -38,8 +38,8 @@ lang: zh ### 环境依赖 -1. [PHP 5.3+](http://php.net/) -2. [PCNTL](http://php.net/manual/en/book.pcntl.php) Extension -3. [Msgpack 0.5.7+(for NeoVim)](https://github.com/msgpack/msgpack-php) Extension or [JSON(for Vim 7.4+)](http://php.net/manual/en/intro.json.php) Extension +1. [PHP 5.3+](https://php.net/) +2. [PCNTL](https://php.net/manual/en/book.pcntl.php) Extension +3. [Msgpack 0.5.7+(for NeoVim)](https://github.com/msgpack/msgpack-php) Extension or [JSON(for Vim 7.4+)](https://php.net/manual/en/intro.json.php) Extension 4. [Composer](https://getcomposer.org/) Project diff --git a/docs/cn/layers/lang/scheme.md b/docs/cn/layers/lang/scheme.md index 4ab63d347..01efd34b4 100644 --- a/docs/cn/layers/lang/scheme.md +++ b/docs/cn/layers/lang/scheme.md @@ -25,7 +25,7 @@ image: https://user-images.githubusercontent.com/13142418/46590501-4e50b100-cae6 目前支持的Scheme实现包括: -- [MIT Scheme](http://www.gnu.org/software/mit-scheme/) +- [MIT Scheme](https://www.gnu.org/software/mit-scheme/) - [Chez Scheme](https://cisco.github.io/ChezScheme/) - [guile](https://www.gnu.org/software/guile/) diff --git a/docs/documentation.md b/docs/documentation.md index e50345767..841decefb 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -2301,7 +2301,7 @@ Custom sign symbol: ### EditorConfig -SpaceVim has supported [EditorConfig](http://editorconfig.org/), a configuration file to “define and maintain consistent coding styles between different editors and IDEs.” +SpaceVim has supported [EditorConfig](https://editorconfig.org/), a configuration file to “define and maintain consistent coding styles between different editors and IDEs.” To customize your editorconfig experience, read the [editorconfig-vim package’s documentation](https://github.com/editorconfig/editorconfig-vim/blob/master/README.md). diff --git a/docs/feed.xml b/docs/feed.xml index af60566ec..99c2d2ea1 100644 --- a/docs/feed.xml +++ b/docs/feed.xml @@ -9,7 +9,7 @@ layout: null > {{ site.title | xml_escape }} - {% if site.description %}{{ site.description | xml_escape }}{% endif %} + {% if site.description %}{{ site.description | xml_escape }}{% endif %} {{ site.feed_update_period | default: "daily" | xml_escape }} {{ site.feed_update_frequency | default: 1 | xml_escape }} {{ site.url }} diff --git a/docs/layers/git.md b/docs/layers/git.md index 202411fd7..18576fb91 100644 --- a/docs/layers/git.md +++ b/docs/layers/git.md @@ -16,7 +16,7 @@ description: "This layers adds extensive support for git" ## Description -This layers adds extensive support for [git](http://git-scm.com/). +This layers adds extensive support for [git](https://git-scm.com/). ## Install diff --git a/docs/layers/lang/elm.md b/docs/layers/lang/elm.md index e1f2467c0..32a2634f5 100644 --- a/docs/layers/lang/elm.md +++ b/docs/layers/lang/elm.md @@ -37,7 +37,7 @@ SpaceVim also provides REPL support for Elm. ### Requirements -First, make sure you have the [Elm Platform](http://elm-lang.org/install) installed. The simplest method to get started is to use the official [npm](https://www.npmjs.com/package/elm) package. +First, make sure you have the [Elm Platform](https://elm-lang.org/install) installed. The simplest method to get started is to use the official [npm](https://www.npmjs.com/package/elm) package. ```sh npm install -g elm diff --git a/docs/layers/lang/scheme.md b/docs/layers/lang/scheme.md index c97991b01..30a6c94b3 100644 --- a/docs/layers/lang/scheme.md +++ b/docs/layers/lang/scheme.md @@ -23,7 +23,7 @@ image: https://user-images.githubusercontent.com/13142418/46590501-4e50b100-cae6 This layer adds [Scheme](http://www.scheme-reports.org) support to SpaceVim. The following scheme dialect support has been added: -- [MIT Scheme](http://www.gnu.org/software/mit-scheme/) +- [MIT Scheme](https://www.gnu.org/software/mit-scheme/) - [Chez Scheme](https://cisco.github.io/ChezScheme/) - [guile](https://www.gnu.org/software/guile/)