aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-03-30 23:32:11 +0800
committerjdhao <jdhao@hotmail.com>2020-03-30 23:32:11 +0800
commit1b97735bf2bff38d9b052ca645bd389d82976a57 (patch)
tree457f9461a40bb60c5c9ddd360f852fc1a83e6a79 /autoload
parent823e09f5b6bd0736299d5d66ee0e736cf77d7b29 (diff)
chore: remove short url and replace with true url
Diffstat (limited to 'autoload')
-rw-r--r--autoload/utils.vim7
1 files changed, 4 insertions, 3 deletions
diff --git a/autoload/utils.vim b/autoload/utils.vim
index d17dec4..0493ab7 100644
--- a/autoload/utils.vim
+++ b/autoload/utils.vim
@@ -6,7 +6,7 @@ function utils#StripTrailingWhitespaces() abort
call winrestview(l:save)
endfunction
-" Create command alias safely, see https://bit.ly/2ImFOpL.
+" Create command alias safely, see https://stackoverflow.com/q/3878692/6064933
" The following two functions are taken from answer below on SO:
" https://stackoverflow.com/a/10708687/6064933
function! utils#Cabbrev(key, value) abort
@@ -18,8 +18,9 @@ function! s:Single_quote(str) abort
return "'" . substitute(copy(a:str), "'", "''", 'g') . "'"
endfunction
-" Check the syntax group in the current cursor position,
-" see http://tinyurl.com/yyzgswxz and http://tinyurl.com/y3lxozey
+" Check the syntax group in the current cursor position, see
+" https://stackoverflow.com/q/9464844/6064933 and
+" https://jordanelver.co.uk/blog/2015/05/27/working-with-vim-colorschemes/
function! utils#SynGroup() abort
if !exists('*synstack')
return