Skip to content

Commit

Permalink
Incorrect trailing colon not disabling autosave when toggled off.
Browse files Browse the repository at this point in the history
  • Loading branch information
thaerkh committed Jan 21, 2017
1 parent a780e45 commit 2941979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/workspace.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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 * *
Expand Down

0 comments on commit 2941979

Please sign in to comment.