Skip to content

Commit

Permalink
Improve indent for while statement
Browse files Browse the repository at this point in the history
  • Loading branch information
hattya committed Jun 24, 2023
1 parent 3a276bc commit c78172b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indent/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ set cpo&vim
let s:maxoff = 50
let s:compound_stmts = {
\ '\v^\s*<elif>': '\v^\s*<%(if|elif)>',
\ '\v^\s*<else>': '\v^\s*<%(if|elif|for|try|except)>',
\ '\v^\s*<else>': '\v^\s*<%(if|elif|while|for|try|except)>',
\ '\v^\s*<except>': '\v^\s*<%(try|except)>',
\ '\v^\s*<finally>': '\v^\s*<%(try|except|else)>',
\}
Expand Down

0 comments on commit c78172b

Please sign in to comment.