I am using vim, by default I have not set the linebreak option in vim.So the following code:
aug =ImageDataGenerator(width_shift_range=0.1,height_shift_range=0.1,horizontal_flip=True,fill_mode="nearest")
is very long to fit in a single line in a window. So what I do is manually move and place the curser and then press enter resulting in:
aug = ImageDataGenerator(width_shift_range=0.1,
height_shift_range=0.1, horizontal_flip=True,fill_mode="nearest")
which is more readable for me. Now when I set the linebreak option, I get
aug = ImageDataGenerator(width_shift_range=0.1,
height_shift_range=0.1, horizontal_flip=True,fill_mode="nearest")
The code runs but is not comfortable to read, I would like to know is there any option in vim which automatically indents once the set linebreak option works.(i.e display the code like the 2nd one with proper indentation at the beginning of the second line).