diff --git a/utils/nano/Makefile b/utils/nano/Makefile index b85ad2e6ba..4ce6a8386e 100644 --- a/utils/nano/Makefile +++ b/utils/nano/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nano PKG_VERSION:=8.7.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/nano diff --git a/utils/nano/files/uci.nanorc b/utils/nano/files/uci.nanorc index 8d27836fc0..cfcb48bd84 100644 --- a/utils/nano/files/uci.nanorc +++ b/utils/nano/files/uci.nanorc @@ -9,6 +9,9 @@ color green "\<(package|config|option|list)\>" # Comments. color cyan "(^|[[:blank:]])#.*" +# Unterminated strings. +color lightmagenta ""([^"\]|\\.)*[^"\]|'([^'\]|\\.)*[^'\]" + # Strings. color yellow ""([^"\]|\\.)*"|'([^'\]|\\.)*'"