From e6969e73b74fb4d95f68aec11efe425d1e2a8f38 Mon Sep 17 00:00:00 2001 From: Thaer Date: Sat, 4 Feb 2017 10:42:25 -0800 Subject: [PATCH] User initiated indent guide toggles need to be let through. --- plugin/workspace.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/workspace.vim b/plugin/workspace.vim index 1df47af..7f3d2a7 100644 --- a/plugin/workspace.vim +++ b/plugin/workspace.vim @@ -199,7 +199,7 @@ function! s:SetUndoDir() endfunction function! s:SetIndentGuideHighlights(user_initiated) - if g:workspace_indentguides && index(g:workspace_indentguides_ignore, &filetype) == -1 + if (g:workspace_indentguides && index(g:workspace_indentguides_ignore, &filetype) == -1) || a:user_initiated if !a:user_initiated silent! syntax clear IndentGuideSpaces silent! syntax clear IndentGuideDraw