From 406634c52ae513730bf895f5a2675d10247a186f Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 7 Sep 2026 22:39:22 -1000 Subject: Clean up the whole tree --- custom/extensions/syntax-highlight.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'custom/extensions/syntax-highlight.lua') diff --git a/custom/extensions/syntax-highlight.lua b/custom/extensions/syntax-highlight.lua index e2032aa..2bff263 100644 --- a/custom/extensions/syntax-highlight.lua +++ b/custom/extensions/syntax-highlight.lua @@ -111,8 +111,7 @@ local function scintillua_path() if config then local dir = string.match(config, "^(.*)/[^/]+$") if dir then - candidates[#candidates + 1] = - dir .. "/scintillua/lexers" + candidates[#candidates + 1] = dir .. "/scintillua/lexers" end end for _, dir in ipairs(scintillua_dirs) do @@ -201,8 +200,7 @@ local function highlight(text) local part = escape(string.sub(text, pos, stop - 1)) local class = css[string.match(tag, "^[%w_]+")] if class and part ~= "" then - part = "" - .. part .. "" + part = "" .. part .. "" end out[#out + 1] = part pos = stop -- cgit 2.12.1