codesnap.nvim/lua/codesnap/static.lua

17 lines
473 B
Lua
Raw Normal View History

2024-02-21 10:33:44 +00:00
local path_utils = require("codesnap.utils.path")
2024-02-13 06:05:36 +00:00
return {
config = {
mac_window_bar = true,
2024-02-19 14:27:17 +00:00
opacity = true,
watermark = "CodeSnap.nvim",
preview_title = "CodeSnap.nvim",
editor_font_family = "CaskaydiaCove Nerd Font",
watermark_font_family = "Pacifico",
highlight_theme = "atom-one-dark",
2024-02-19 14:27:17 +00:00
auto_load = true,
},
2024-02-21 10:33:44 +00:00
cwd = path_utils.back(path_utils.back(debug.getinfo(1, "S").source:sub(2):match("(.*[/\\])"))),
2024-02-19 14:27:17 +00:00
preview_switch = true,
2024-02-13 06:05:36 +00:00
}