Override indent function of a simpleMode?


#1

How can I define or override the indent function of a mode defined using defineSimpleMode?


#2

You can put an indent method in the meta property of the mode – anything you put there will be copied onto the mode object.