Do not indent on enter in python comments ending in colon (#25437)
Closes https://github.com/zed-industries/zed/issues/25416 Release Notes: - Fixed a bug where indentation was applied when adding a newline to a Python comment ending in `:`.
This commit is contained in:
parent
ee280b0d05
commit
535ba75bc7
1 changed files with 1 additions and 1 deletions
|
@ -15,5 +15,5 @@ brackets = [
|
|||
]
|
||||
|
||||
auto_indent_using_last_non_empty_line = false
|
||||
increase_indent_pattern = ":\\s*$"
|
||||
increase_indent_pattern = "^[^#].*:\\s*$"
|
||||
decrease_indent_pattern = "^\\s*(else|elif|except|finally)\\b.*:"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue