From 1b97735bf2bff38d9b052ca645bd389d82976a57 Mon Sep 17 00:00:00 2001 From: jdhao Date: Mon, 30 Mar 2020 23:32:11 +0800 Subject: chore: remove short url and replace with true url --- autoload/utils.vim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'autoload') 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 -- cgit v1.2.3