diff --git a/README.md b/README.md index 1fdf4ae..75f5683 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The following helpers are available: `:HugoHelperLink` helps with adding links to a document. Visually select the word(s) you want to be a link, enter `:HugoHelperLink https://gohugo.io` and it will turn the selected word(s) to `[selected words](https://gohugo.io)`. -![link helper in action](http://i.imgur.com/mVPqgXs.gif) +![link helper in action](https://i.imgur.com/mVPqgXs.gif) Probably works only for markdown documents. diff --git a/autoload/hugohelper.vim b/autoload/hugohelper.vim index d7a526f..7c7123a 100644 --- a/autoload/hugohelper.vim +++ b/autoload/hugohelper.vim @@ -59,7 +59,7 @@ function! hugohelper#HasFrontMatter() endfun function! s:get_visual_selection() - " From http://stackoverflow.com/a/6271254/794380 + " From https://stackoverflow.com/a/6271254/794380 let [lnum1, col1] = getpos("'<")[1:2] let [lnum2, col2] = getpos("'>")[1:2] let lines = getline(lnum1, lnum2) diff --git a/plugin/hugohelper.vim b/plugin/hugohelper.vim index be94563..0aae547 100644 --- a/plugin/hugohelper.vim +++ b/plugin/hugohelper.vim @@ -18,7 +18,7 @@ if !exists('g:hugohelper_content_dir') endif if !exists('g:hugohelper_site_config') - " List of site configuration files vim-hugo-helper uses to detemine + " List of site configuration files vim-hugo-helper uses to determine " the root of the hugo site. " For more information, see: https://gohugo.io/getting-started/configuration/ let g:hugohelper_site_config = [ 'config.toml', 'config.yaml', 'config.json' ]