diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-30 20:54:08 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-30 20:54:08 +1200 |
commit | 49ebf12cc7182b40737f456663a199d288cedddc (patch) | |
tree | e6d3f943fbe7c31cb1cabcad00306c36cff6bdd9 /plugin | |
parent | Strip comments out from plugin file (diff) | |
download | vim-cursorline-current-49ebf12cc7182b40737f456663a199d288cedddc.tar.gz vim-cursorline-current-49ebf12cc7182b40737f456663a199d288cedddc.zip |
Remove support for g:cursorline_current_insert
I don't use it, and I'm not sure it's terribly useful; I might put it
back if there's a good way to leverage the hooks for it.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/cursorline_current.vim | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/plugin/cursorline_current.vim b/plugin/cursorline_current.vim index cb07ffd..2920975 100644 --- a/plugin/cursorline_current.vim +++ b/plugin/cursorline_current.vim @@ -19,10 +19,8 @@ augroup cursorline_current \ * call cursorline_current#Suspend() autocmd BufEnter,WinEnter,FocusGained \ * call cursorline_current#Restore() - if get(g:, 'cursorline_current_insert', 1) - autocmd InsertEnter - \ * call cursorline_current#Suspend() - autocmd InsertLeave - \ * call cursorline_current#Restore() - endif + autocmd InsertEnter + \ * call cursorline_current#Suspend() + autocmd InsertLeave + \ * call cursorline_current#Restore() augroup END |