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:30:19 +0000 (17:30 +0300)
commitd9d6eb1d8d6674a93ea8cd79b31023b17b08b901
tree9514bcc29a6f52b42a52cb552a1aebac0c60284b
parenta3a26de005ee5ea0419389b0caafb6d10aceb0d5
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