From 294197946b84d82154dc40382e591f20ea51e7a2 Mon Sep 17 00:00:00 2001 From: Thaer Date: Sat, 21 Jan 2017 05:07:15 -0800 Subject: [PATCH] Incorrect trailing colon not disabling autosave when toggled off. --- plugin/workspace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/workspace.vim b/plugin/workspace.vim index 936c5a4..82e34d6 100644 --- a/plugin/workspace.vim +++ b/plugin/workspace.vim @@ -95,7 +95,7 @@ endfunction function! s:RemoveWorkspace() let s:workspace_save_session = 0 execute printf('call delete("%s")', g:workspace_session_name) - if g:workspace_autosave: + if g:workspace_autosave set noautoread set noautowrite au! WorkspaceToggle * *