From ba6d6162750ae2e8beb2e262047ce0503ae880c8 Mon Sep 17 00:00:00 2001 From: Rmys Date: Mon, 28 Oct 2019 13:30:41 +0300 Subject: [PATCH] nano:rebuild Enable colorization by default --- editor/nano/actions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/nano/actions.py b/editor/nano/actions.py index fb971a78c2..d3eeaa7288 100644 --- a/editor/nano/actions.py +++ b/editor/nano/actions.py @@ -26,3 +26,6 @@ def install(): pisitools.dohtml("doc/*.html") pisitools.dodoc("ChangeLog*", "README", "doc/sample.nanorc", "AUTHORS", "NEWS", "TODO", "COPYING*", "THANKS") + + # Enable colorization by default + pisitools.dosed("%s/etc/nanorc" % get.installDIR(), '## include "/path/to/syntax_file.nanorc"', ' include "/usr/share/nano/*.nanorc"')