akalongman / akalongman/sublimetext-codeformatter

keep_array_indentation not working

未关闭
#377 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
772
派生
128
PR 合并指标
30 天内没有已合并 PR

描述

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

```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。