diff options
author | ubq323 <ubq323@ubq323.website> | 2024-11-13 22:03:17 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-11-13 22:03:17 +0000 |
commit | 16e9f4ef0ab0ad51a7a05fd98ee1870c81b20a73 (patch) | |
tree | 9db82260e113c3564d5c396a88ae8d783fc0ea0f /init.lua | |
parent | dfef0c0e5fad890c6c65110e3850ece586614215 (diff) |
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -26,7 +26,11 @@ local function mode_code(S) text = text .. line end end - S:emit(highlight(text, lang)) + if lang then + S:emit(highlight(text, lang)) + else + S:emit(T.pre(text)) + end end local function mode_list(S) |