forked from mirror/codesnap.nvim
17 lines
473 B
Lua
17 lines
473 B
Lua
local path_utils = require("codesnap.utils.path")
|
|
|
|
return {
|
|
config = {
|
|
mac_window_bar = true,
|
|
opacity = true,
|
|
watermark = "CodeSnap.nvim",
|
|
preview_title = "CodeSnap.nvim",
|
|
editor_font_family = "CaskaydiaCove Nerd Font",
|
|
watermark_font_family = "Pacifico",
|
|
highlight_theme = "atom-one-dark",
|
|
auto_load = true,
|
|
},
|
|
cwd = path_utils.back(path_utils.back(debug.getinfo(1, "S").source:sub(2):match("(.*[/\\])"))),
|
|
preview_switch = true,
|
|
}
|