Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 8512ceb

Browse files
committed
feat: added support for passing the theme option
1 parent 214e9e3 commit 8512ceb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lua/freeze/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ local freeze = {
55
opts = {
66
dir = ".",
77
output = default_output,
8+
theme = "default",
89
config = "base",
910
open = false,
1011
},
@@ -100,6 +101,8 @@ function freeze.freeze(start_line, end_line)
100101
start_line .. "," .. end_line,
101102
"--config",
102103
config,
104+
"--theme",
105+
freeze.opts.theme,
103106
file,
104107
},
105108
stdio = { nil, stdout, stderr },

0 commit comments

Comments
 (0)