Custom indentation rules


#1

Currently, atom does not indent the content of {} in LaTeX, e.g.

\framebox{
Hello World
}

Can I add my own rules to make atom auto-indent such code?

I am using the language-latex package (at least I think so, not entirely comfortable with this package stuff yet).


#2

Hello.

Consider taking this case up with the owners of the package. It does not seem as though they provide for what you ask and it can only be done within the package. https://github.com/area/language-latex/issues

I know too little of latex to be of further help in making recommendations. Though having only a fold end pattern does not feel right.

Also consider looking if there are other language packages that does do what you expect.
https://atom.io/packages/search?q=latex-language

Regards.


#3

Thanks for your reply! I was mostly wondering whether there is a way for me to override the package defaults, just like I can override keybindings or other things.