nano-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] input: do not auto-indent when something is pasted into


From: Brand Huntsman
Subject: Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside
Date: Tue, 7 Jan 2020 14:25:20 -0700

On Tue, 7 Jan 2020 18:51:34 +0100
Benno Schulenberg <address@hidden> wrote:

> Out of curiosity: do you ever use --breaklonglines?  If yes, in what
> situations?

Always, except for root.

The following disables tabgives conversion during a paste, to match uncut and 
insertfile behavior.

in text.c do_tab():
-   if (openfile->syntax && openfile->syntax->tab)
+   if (openfile->syntax && openfile->syntax->tab && !bracketed_paste)




reply via email to

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