diff --git a/utils/nano/Makefile b/utils/nano/Makefile index 4400b780f2..064a25e3d5 100644 --- a/utils/nano/Makefile +++ b/utils/nano/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nano PKG_VERSION:=7.2 -PKG_RELEASE:=3 +PKG_RELEASE:=4 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNU/nano diff --git a/utils/nano/files/ucode.nanorc b/utils/nano/files/ucode.nanorc index 96c7848e21..647f21d85f 100644 --- a/utils/nano/files/ucode.nanorc +++ b/utils/nano/files/ucode.nanorc @@ -43,7 +43,7 @@ color ,green "[[:space:]]+$" # Text outside template directives color slate start="[}%#]\}" end="\{[{%#]" -color slate start="^#!" end="\{[{%#]" +color slate start="^#!.*(\|[[:space:]]-[[:alnum:]]*T[[:alnum:]]*\>)" end="\{[{%#]" color slate "^([^{%#}]|\{[^{%#]|[%#}][^}])+\{[{%#]" # Template tags