akalongman / akalongman/sublimetext-codeformatter

SCSS/SASS doesn't preserve existing linebreaks in nested classes

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

描述

The preserve line breaks options are not working for SCSS/SASS.

```
"codeformatter_scss_options":
{
"syntaxes": "scss, sass", // Indentation size
"format_on_save": false, // Format on save
"indent_size": 4, // Indentation size
"indent_char": " ", // Indentation character
"indent_with_tabs": false, // Indent with one tab (overrides indent_size and indent_char options)
"selector_separator_newline": true, // Add new lines after selector separators
"end_with_newline": true, // Add new line of end in file
"newline_between_rules": true, // Add new line between rules
"preserve_newlines": true, // whether existing line breaks should be preserved,
"max_preserve_newlines": 1, // maximum number of line breaks to be preserved in one chunk
"keep_blank_lines": true, // If true, preserve one blank where blank(s) are encountered.
},
```

It is clumping everything together in nested classes.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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