Commit Graph

2 Commits

Author SHA1 Message Date
Jo-Philipp Wich
8f9564387d 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>
2024-04-05 17:25:56 +03:00
Jo-Philipp Wich
d8a574f7f0 nano: add syntax highlighting for ucode scripts
Introduce local syntax highlighting support for ucode scripts, like
it is done already for uci configuration files.

Ref: https://github.com/jow-/ucode/issues/178
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-11-08 14:53:37 +01:00