Do not set checktime if already set

This commit is contained in:
Adam Stankiewicz
2020-10-24 17:46:15 +02:00
parent 739102e06d
commit 3c148e9ef5
2 changed files with 11 additions and 6 deletions

View File

@@ -3500,12 +3500,6 @@ if !has_key(s:disabled_packages, 'sensible')
" Disable swap, it doesn't play well with autoread
set noswapfile
" Auto reload if file was changed somewhere else (for autoread)
augroup polyglot-sensible
au!
au CursorHold * checktime
augroup END
" Enable highlighted case-insensitive incremential search.
set incsearch