On showing diff/file, use the tab_width specified on .editorconfig, if any (#3241)

Closes #3182
This commit is contained in:
Andrey Nering authored and 无闻 committed 2016-08-11 17:07:09 -07:00
1 parent aa1fc30b89
commit dbed39ba05
9 files changed
+137 -2

No files matched your search

+10
View File
@@ -1360,3 +1360,13 @@
width: 100%!important;
}
}
// generate .tab-size-{i} from 1 to 16
.generate-tab-size(16);
.generate-tab-size(@n, @i: 1) when (@i =< @n) {
.tab-size-@{i} {
tab-size: @i !important;
-moz-tab-size: @i !important;
}
.generate-tab-size(@n, (@i + 1));
}