From bb6973b1df0e5bbc6f8ce73a8e5d3a95418921e9 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 10:24:18 -0700 Subject: Name the pages the highlighter runs on --- custom/extensions/syntax-highlight.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom/extensions/syntax-highlight.lua') diff --git a/custom/extensions/syntax-highlight.lua b/custom/extensions/syntax-highlight.lua index e0000ec..282b0cf 100644 --- a/custom/extensions/syntax-highlight.lua +++ b/custom/extensions/syntax-highlight.lua @@ -1,4 +1,4 @@ --- Server-side syntax highlighting for cgit's tree and blob views, named by +-- Server-side syntax highlighting for cgit's tree and blame pages, named by -- the source-filter setting and run inside cgit's embedded Lua interpreter -- so a coloured blob costs no extra process per request. Tokens come from the -- Scintillua lexers and reach the page wrapped in span elements carrying the -- cgit 2.12.1