I’ve successfully created a custom syntax definition which does color highlighting of specific keywords. Now I’d like to make specific indentation rules and commenting rules.
For instance, if you hit “cntrl-/” it is supposed to comment that line out. Well in my custom definition it doesn’t. So how do I explain that command should put a “!” at the beginning of the selected line to make it a comment?
Also, there are certain keywords that when I type them I want the cursor to automatically indent on the next line. Similar to how and “if” statement auto indents the next line on a built in programming language syntax. How can I accomplish that?