Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion autoload/hugohelper.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion plugin/hugohelper.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]
Expand Down