From d8b906a68228f3138fc3a7b32258b0ea5c3c4bd4 Mon Sep 17 00:00:00 2001 From: memnoth Date: Fri, 6 Jan 2017 00:48:45 +0900 Subject: [PATCH] Remove ``nested`` syntax. Ii makes a bug that cursor jumps to top of source file. so the syntax is removed emptly for workaround. --- plugin/srcexpl.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugin/srcexpl.vim b/plugin/srcexpl.vim index e86fe61..f7573c6 100644 --- a/plugin/srcexpl.vim +++ b/plugin/srcexpl.vim @@ -1495,8 +1495,12 @@ function! SrcExpl_Init() " Then we set the routine function when the event happens augroup SrcExpl_AutoCmd autocmd! - au! CursorHold * nested call g:SrcExpl_Refresh() - au! WinEnter * nested call SrcExpl_WinEnter() + + " Remove below line emptly + "au! CursorHold * nested call g:SrcExpl_Refresh() + "au! WinEnter * nested call SrcExpl_WinEnter() + au! CursorHold * call g:SrcExpl_Refresh() + au! WinEnter * call SrcExpl_WinEnter() augroup end return 0