Skip to content

[Feature request] Keep highlighting in empty lines #97

@fvisin

Description

@fvisin

Sometimes I add empty lines in my code to make it more readable,e.g.:

def example(self, x):
*   if some_condition:
*   *   max_el = 0

*   *   for el in x:
*   *   *   another_var = 0

*   *   *   if el > max_el:
*   *   *   *   max_el = el

If the lines surrounding the empty code have the same indentation level, I'd like the empty line to be highlighted too.

def example(self, x):
*   if some_condition:
*   *   max_el = 0
*   *
*   *   for el in x:
*   *   *   another_var = 0
*   *   *
*   *   *   if el > max_el:
*   *   *   *   max_el = el

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions