akalongman / akalongman/sublimetext-codeformatter

keep_array_indentation not working

Offen
#377 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
772
Forks
128
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.'
};

```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.