Outside of JSX code the intendation works fine, for example inserting a new line after the opening bracket correctly indents by 2. This also messes with simple code formatting like through vintageous.
I tried playing with the typescript_auto_format setting and set my indent settings for typescript files to
{
"tab_size": 2,
"indent_size": 2,
}
but no good. Am I missing a setting here? (
(I have enable_*_language_service off and use typescript LSP through the sublime lsp project)
I have some issues getting indentation for JSX tags playing along nicely. Here's an exmaple:
Creating a new line anywhere within the JSX block indents to the parent starting line, not the indented one
Outside of JSX code the intendation works fine, for example inserting a new line after the opening bracket correctly indents by 2. This also messes with simple code formatting like through vintageous.
I tried playing with the
typescript_auto_format
setting and set my indent settings for typescript files tobut no good. Am I missing a setting here? (
(I have
enable_*_language_service
off and use typescript LSP through the sublime lsp project)