akalongman / akalongman/sublimetext-codeformatter

keep_array_indentation not working

Open
#377 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
772
Forks
128
PR merge metrics
No merged PRs in 30d

Description

I dont want to format the arrays and objects in js but even setting to true, keeps formatting arrays and objects:
keep_array_indentation = true;

Expected:

```
var movieQuotes = {
'slumdog_millionaire' : 'When somebody asks me a question, I tell them the answer.',
'silver_linings_playbook' : 'I opened up to you, and you judged me.',
'the_lives_of_others' : 'To think that people like you ruled a country.',
'the_shawshank_redemption': 'Get busy living, or get busy dying.'
};

```
Currently:
```
var movieQuotes = {
'slumdog_millionaire': 'When somebody asks me a question, I tell them the answer.',
'silver_linings_playbook': 'I opened up to you, and you judged me.',
'the_lives_of_others': 'To think that people like you ruled a country.',
'the_shawshank_redemption': 'Get busy living, or get busy dying.'
};

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.