aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
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 /after/ftplugin
parent823e09f5b6bd0736299d5d66ee0e736cf77d7b29 (diff)
chore: remove short url and replace with true url
Diffstat (limited to 'after/ftplugin')
-rw-r--r--after/ftplugin/vim.vim9
1 files changed, 5 insertions, 4 deletions
diff --git a/after/ftplugin/vim.vim b/after/ftplugin/vim.vim
index c95b6af..cac808f 100644
--- a/after/ftplugin/vim.vim
+++ b/after/ftplugin/vim.vim
@@ -4,14 +4,15 @@ set formatoptions-=o
" Disable inserting comment leader after hitting <Enter> in insert mode
set formatoptions-=r
-" Set the folding related options for vim script. Setting folding option
-" in modeline is annoying in that the modeline get executed each time the
-" window focus is lost (see http://tinyurl.com/yyqyyhnc)
+" Set the folding related options for vim script. Setting folding option in
+" modeline is annoying in that the modeline get executed each time the window
+" focus is lost (see
+" https://github.com/tmux-plugins/vim-tmux-focus-events/issues/14)
set foldmethod=expr foldlevel=0 foldlevelstart=-1
\ foldexpr=utils#VimFolds(v:lnum) foldtext=utils#MyFoldText()
" Use :help command for keyword when pressing `K` in vim file,
-" see `:h K` and https://bre.is/wC3Ih-26u
+" see `:h K` and https://stackoverflow.com/q/15867323/6064933
set keywordprg=:help
" Only define following variable if Auto-pairs plugin is used