Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
2944-Indent-using-only-spaces-instead-of-mixed-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2944-Indent-using-only-spaces-instead-of-mixed-mode.patch of Package erlang
From 5b6351fdd10c7f97d414f2e988d4a6f06d7de598 Mon Sep 17 00:00:00 2001 From: Pierre Krafft <kpierre@outlook.com> Date: Thu, 7 Nov 2019 23:12:21 +0100 Subject: [PATCH 4/5] Indent using only spaces instead of mixed-mode --- lib/syntax_tools/src/prettypr.erl | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/syntax_tools/src/prettypr.erl b/lib/syntax_tools/src/prettypr.erl index 4e5ce334ab..1f2dfffbdb 100644 --- a/lib/syntax_tools/src/prettypr.erl +++ b/lib/syntax_tools/src/prettypr.erl @@ -581,8 +581,6 @@ layout(N, #text{s = S}, Cs) -> layout(_N, null, Cs) -> Cs. -indent(N, Cs) when N >= 8 -> - indent(N - 8, [$\t | Cs]); indent(N, Cs) when N > 0 -> indent(N - 1, [$\s | Cs]); indent(_N, Cs) -> -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor