Skip to content

Commit

Permalink
User initiated indent guide toggles need to be let through.
Browse files Browse the repository at this point in the history
  • Loading branch information
thaerkh committed Feb 4, 2017
1 parent 803d3a7 commit e6969e7
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 @@ -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
Expand Down

0 comments on commit e6969e7

Please sign in to comment.