Hi all. Is there a way to set the auto-indent feature so that it only works when a certain character ends the previous line? Right now for my Python syntax file, I have the colon (':') as an indent character, which is fine like this:
if x > 0:
....do_something
But it also indents when I use a colon like this:
section = source[start:stop]
....next line starts here, but shouldn't
So is there a way to specify that indenting should only occur when the colon ends a line?
Thanks,
John
if x > 0:
....do_something
But it also indents when I use a colon like this:
section = source[start:stop]
....next line starts here, but shouldn't
So is there a way to specify that indenting should only occur when the colon ends a line?
Thanks,
John