aboutsummaryrefslogtreecommitdiffhomepage
path: root/.config/vim/my/plugin/autosave.vim
diff options
context:
space:
mode:
Diffstat (limited to '.config/vim/my/plugin/autosave.vim')
-rw-r--r--.config/vim/my/plugin/autosave.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/vim/my/plugin/autosave.vim b/.config/vim/my/plugin/autosave.vim
index 2548609..6339dcb 100644
--- a/.config/vim/my/plugin/autosave.vim
+++ b/.config/vim/my/plugin/autosave.vim
@@ -19,9 +19,9 @@ command! -bar
command! -bar
\ AutosaveToggle
\ if exists('b:autosave_timer') |
- \ call autosave#enable() |
- \ else |
\ call autosave#disable() |
+ \ else |
+ \ call autosave#enable() |
\ endif