aboutsummaryrefslogtreecommitdiff
path: root/after/ftplugin
diff options
context:
space:
mode:
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