|
From: | Liu Hao |
Subject: | Re: problem with 'set highlightcolor' |
Date: | Mon, 1 Mar 2021 09:23:27 +0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
在 2021/3/1 上午3:18, Benno Schulenberg 写道:
Is it something in my .nanorc?If the minirc works, it seems there is some unexpected interaction between options. Please copy your nanorc to copyrc (and prefix it with /etc/nanorc, if you have such a file), and then repeatedly run nano with --rc=copyrc and start commenting out stuff until you find the offending option.
If `set softwrap` exists in minirc, then `selectedcolor` will be mistaken for `highlightcolor`. This can be reproduced with:
echo "set selectedcolor white,blue" >minirc echo "set highlightcolor black,red" >>minirc echo "set softwrap" >>minirc nano --rc=minirc README -- Best regards, Liu Hao
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |