Sublime Forum

Apply smart_indent to other languages?

#1

Hi,
when the current file is set to C smart_indent works as expected.
When I write “if (xxx)” and press enter, it gets indented. However, how can I use smart_indent with other languages?
For example, I added syntax files for a different language which uses the same syntax as C, but smart_indent does not work for it.
Are the smart_indent-supported languages hardcoded or is it possible to add languages?

0 Likes

#2

bump

0 Likes

#3

bump

0 Likes