diff --git a/plugin/number_toggle.vim b/plugin/number_toggle.vim index 40bec21..d5dad54 100644 --- a/plugin/number_toggle.vim +++ b/plugin/number_toggle.vim @@ -5,5 +5,5 @@ augroup numbertoggle autocmd! autocmd BufEnter,FocusGained,InsertLeave,WinEnter * if &nu && mode() != "i" | set rnu | endif - autocmd BufLeave,FocusLost,InsertEnter,WinLeave * if &nu | set nornu | endif + autocmd BufLeave,FocusLost,InsertEnter,WinLeave * if &nu | set nornu | endif augroup END