[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)
Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Benno Schulenberg, 2020/01/10
Re: [PATCH 1/2] input: recognize the start and stop sequences of a bracketed paste, Benno Schulenberg, 2020/01/10