Closed drmgc closed 2 years ago
Often, web-mode makes weird indentation in arrays: first line indented properly, but next lines are indented twice.
This behaviour found mostly in php:
array( array( 'name' => 'Add', 'url' => '/add/', 'rules' => array() ), array( 'name' => 'List', 'url' => '/list/', 'rules' => array() ), array( 'name' => 'Sections', 'url' => '/section/', 'rules' => array() ), )
But also found in typescript mode:
[ new NavItem('Home', '/'), new NavItem('About project', '/about-prj'), new NavItem('About', '/about'), ]
How to fix this behaviour?
seems to be fixed with last commit please reopen if needed
Often, web-mode makes weird indentation in arrays: first line indented properly, but next lines are indented twice.
This behaviour found mostly in php:
But also found in typescript mode:
How to fix this behaviour?