2024-02-21 02:33:44 -08:00
|
|
|
local path_utils = require("codesnap.utils.path")
|
|
|
|
|
2024-02-12 22:05:36 -08:00
|
|
|
return {
|
2024-02-14 09:15:26 -08:00
|
|
|
config = {
|
|
|
|
mac_window_bar = true,
|
2024-03-16 10:07:12 -07:00
|
|
|
title = "CodeSnap.nvim",
|
|
|
|
code_font_family = "CaskaydiaCove Nerd Font",
|
2024-02-24 03:01:39 -08:00
|
|
|
watermark_font_family = "Pacifico",
|
2024-03-16 10:07:12 -07:00
|
|
|
watermark = "CodeSnap.nvim",
|
2024-03-17 02:12:47 -07:00
|
|
|
bg_theme = "default",
|
2024-03-17 07:34:01 -07:00
|
|
|
breadcrumbs_separator = "/",
|
|
|
|
has_breadcrumbs = false,
|
2024-04-25 10:01:17 -07:00
|
|
|
has_line_number = false,
|
2024-05-07 06:34:14 -07:00
|
|
|
show_workspace = false,
|
2024-05-07 01:35:21 -07:00
|
|
|
min_width = 0,
|
2024-07-03 22:50:06 -07:00
|
|
|
bg_x_padding = 122,
|
|
|
|
bg_y_padding = 82,
|
2024-07-30 00:06:11 -07:00
|
|
|
save_path = path_utils.get_default_save_path(),
|
2024-02-14 09:15:26 -08:00
|
|
|
},
|
2024-02-21 02:33:44 -08:00
|
|
|
cwd = path_utils.back(path_utils.back(debug.getinfo(1, "S").source:sub(2):match("(.*[/\\])"))),
|
2024-02-19 06:27:17 -08:00
|
|
|
preview_switch = true,
|
2024-02-12 22:05:36 -08:00
|
|
|
}
|