nano: fix syntax highlighting for raw ucode scripts
authorJo-Philipp Wich <jo@mein.io>
Thu, 4 Apr 2024 23:33:50 +0000 (01:33 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 5 Apr 2024 14:32:15 +0000 (17:32 +0300)
commit8c02297d07d62e41173409584fffe71d2108275f
tree806404d1723b317736f2ea9dd0bef4e544d0d285
parent51005623ca7ac1fc124880c755bf0554abd5e681
nano: fix syntax highlighting for raw ucode scripts

Text between interpreter line and start of first directive should only
highlighted as uninterpreted when running in template mode, so adjust
the match rule accordingly.

Fixes: #23761
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 8f9564387d136c2a09c763b4c4ac7e4aa16baeb5)
utils/nano/Makefile
utils/nano/files/ucode.nanorc