aboutsummaryrefslogtreecommitdiff
path: root/autoload/insert_timeout.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/insert_timeout.vim')
-rw-r--r--autoload/insert_timeout.vim15
1 files changed, 0 insertions, 15 deletions
diff --git a/autoload/insert_timeout.vim b/autoload/insert_timeout.vim
deleted file mode 100644
index c3da2e6..0000000
--- a/autoload/insert_timeout.vim
+++ /dev/null
@@ -1,15 +0,0 @@
-" Set update time to configured variable or default 10 seconds
-function! insert_timeout#SetUpdatetime() abort
- let g:insert_timeout#updatetime_save = &updatetime
- let &updatetime = exists('g:insert_timeout_duration')
- \ ? g:insert_timeout_duration
- \ : 10000
-endfunction
-
-" Restore update time to globally configured variable
-function! insert_timeout#RestoreUpdatetime() abort
- if exists('g:insert_timeout#updatetime_save')
- let &updatetime = g:insert_timeout#updatetime_save
- unlet g:insert_timeout#updatetime_save
- endif
-endfunction