-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathstatic.lua
More file actions
81 lines (80 loc) · 1.82 KB
/
static.lua
File metadata and controls
81 lines (80 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
local path_utils = require("codesnap.utils.path")
return {
config = {
show_line_number = true,
diff_config = {
add_color = "#98C37960",
delete_color = "#E06C7550",
},
highlight_color = "#ffffff20",
show_workspace = true,
snapshot_config = {
theme = "candy",
window = {
mac_window_bar = true,
shadow = {
radius = 20,
color = "#00000040",
},
margin = {
x = 82,
y = 82,
},
border = {
width = 1,
color = "#ffffff30",
},
title_config = {
color = "#ffffff",
font_family = "Pacifico",
},
radius = 12,
},
themes_folders = {},
fonts_folders = {},
line_number_color = "#495162",
command_output_config = {
prompt = "❯",
font_family = "CaskaydiaCove Nerd Font",
prompt_color = "#F78FB3",
command_color = "#98C379",
string_arg_color = "#ff0000",
},
code_config = {
font_family = "CaskaydiaCove Nerd Font",
breadcrumbs = {
enable = true,
separator = "/",
color = "#80848b",
font_family = "CaskaydiaCove Nerd Font",
},
},
watermark = {
content = "CodeSnap.nvim",
font_family = "Pacifico",
color = "#ffffff",
},
background = {
start = {
x = 0,
y = 0,
},
["end"] = {
x = "max",
y = 0,
},
stops = {
{
position = 0,
color = "#6bcba5",
},
{
position = 1,
color = "#caf4c2",
},
},
},
},
},
cwd = path_utils.back(path_utils.back(debug.getinfo(1, "S").source:sub(2):match("(.*[/\\])"))),
}