jsappl / nvim

2 stars 0 forks source link

Indent line #3

Closed jsappl closed 1 year ago

jsappl commented 2 years ago

If two functions are nested like this the indent line jumps inside to indicate the current indentation.

def foobar():
    def bar():
        pass

We want the same behavior also for the following setup.

def foo():
    bar = {
        "1": 1,
        "2": 2,
    }

Basically the line should jump for data structures as well.

jsappl commented 1 year ago

Not an issue anymore with the ruff code formatter.