nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] indentation has been changed to use only tabs


From: Brand Huntsman
Subject: Re: [Nano-devel] indentation has been changed to use only tabs
Date: Sat, 30 Dec 2017 05:02:27 -0700

On Sat, 30 Dec 2017 11:53:46 +0100
Benno Schulenberg <address@hidden> wrote:

> > git config --local core.pager 'less -x1,5'  
> 
>    git config --local core.pager "less -x4"

That does not produce the same output. The -x1,5 uses 4 spaces AFTER the +- 
column, while -x4 only uses 3 spaces.

With -x4
+void f() {
+   if (cond)
+       v = 0;

With -x1,5
+void f() {
+    if (cond)
+        v = 0;

Look at where "if" aligns with "void" in the above example. There are many more 
cases like that. Use -x1,5 if you want the output to match what you see in your 
editor.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]