We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a276bc commit c78172bCopy full SHA for c78172b
1 file changed
indent/python.vim
@@ -28,7 +28,7 @@ set cpo&vim
28
let s:maxoff = 50
29
let s:compound_stmts = {
30
\ '\v^\s*<elif>': '\v^\s*<%(if|elif)>',
31
-\ '\v^\s*<else>': '\v^\s*<%(if|elif|for|try|except)>',
+\ '\v^\s*<else>': '\v^\s*<%(if|elif|while|for|try|except)>',
32
\ '\v^\s*<except>': '\v^\s*<%(try|except)>',
33
\ '\v^\s*<finally>': '\v^\s*<%(try|except|else)>',
34
\}
0 commit comments