Closed
Description
I've found that cursor movements executed internally by NERDTree plugin do not fire events like WinEnter
,BufWinEnter
,WinLeave
so it will break some scripts like:
" Highlight cursor only in current window
augroup CursorLine
autocmd!
autocmd VimEnter,WinEnter,BufWinEnter * setlocal cursorline
autocmd WinLeave * setlocal nocursorline
augroup END
It can be fixed by removing eventignore
modifications in function! nerdtree#exec(cmd)
but I'm not sure that is good enough... Is there any considerable reasons for disabling event processing?
Metadata
Metadata
Assignees
Labels
No labels