Add -bar to IndentLinesToggle command definition (#378)

Co-authored-by: Paul Weaver <paul@articulate.software>
This commit is contained in:
Paul Weaver
2022-09-07 14:36:32 +01:00
committed by GitHub
parent 2dc5110cb5
commit d15d63bf9c

View File

@@ -442,7 +442,7 @@ augroup END
"{{{1 commands "{{{1 commands
command! -nargs=? IndentLinesReset call s:ResetWidth(<f-args>) command! -nargs=? IndentLinesReset call s:ResetWidth(<f-args>)
command! IndentLinesToggle call s:IndentLinesToggle() command! -bar IndentLinesToggle call s:IndentLinesToggle()
if g:indentLine_newVersion if g:indentLine_newVersion
command! -bar IndentLinesEnable let b:indentLine_enabled = 1 | call s:IndentLinesEnable() command! -bar IndentLinesEnable let b:indentLine_enabled = 1 | call s:IndentLinesEnable()
command! -bar IndentLinesDisable let b:indentLine_enabled = 0 | call s:IndentLinesDisable() command! -bar IndentLinesDisable let b:indentLine_enabled = 0 | call s:IndentLinesDisable()