FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
lvim/lua/user/dev_icons.lua at main · abzcoding/lvim · GitHub
abzcoding
/
lvim
Public
Notifications
You must be signed in to change notification settings
Fork
61
Star
470
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
lvim
/
lua
/
user
/
dev_icons.lua
Copy path
More file actions
More file actions
Latest commit
History
History
History
115 lines (111 loc) · 2.58 KB
Breadcrumbs
lvim
/
lua
/
user
/
dev_icons.lua
Copy path
File metadata and controls
115 lines (111 loc) · 2.58 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
local
M
=
{}
M
.
set_icon
=
function
()
require
(
"
nvim-web-devicons
"
).
set_icon
{
toml
=
{
icon
=
"
📦
"
,
color
=
"
#8FAA54
"
,
name
=
"
Toml
"
,
},
rs
=
{
icon
=
"
🦀
"
,
color
=
"
#d28445
"
,
name
=
"
Rust
"
,
},
tf
=
{
icon
=
"
"
,
color
=
"
#3d59a1
"
,
name
=
"
Terraform
"
,
},
tfvars
=
{
icon
=
"
"
,
color
=
"
#51afef
"
,
name
=
"
Terraform
"
,
},
mod
=
{
icon
=
"
"
,
color
=
"
#6a9fb5
"
,
name
=
"
Mod
"
,
},
sum
=
{
icon
=
"
"
,
color
=
"
#6a9fb5
"
,
name
=
"
Sum
"
,
},
txt
=
{
icon
=
"
"
,
color
=
"
#bbc2cf
"
,
name
=
"
Text
"
,
},
csv
=
{
icon
=
"
"
,
color
=
"
#31B53E
"
,
name
=
"
CSV
"
,
},
plist
=
{
icon
=
"
"
,
color
=
"
#8FAA54
"
,
name
=
"
Plist
"
,
},
burp
=
{
icon
=
"
"
,
color
=
"
#F16529
"
,
name
=
"
Burp
"
,
},
mp4
=
{
icon
=
"
"
,
color
=
"
#5fd7ff
"
,
name
=
"
MP4
"
,
},
mkv
=
{
icon
=
"
"
,
color
=
"
#5fd7ff
"
,
name
=
"
MKV
"
,
},
hcl
=
{
icon
=
"
"
,
color
=
"
#689FB6
"
,
name
=
"
HCL
"
,
},
sol
=
{
icon
=
"
"
,
color
=
"
#555555
"
,
name
=
"
Sol
"
,
},
}
end
M
.
use_my_icons
=
function
()
for
_
,
sign
in
ipairs
(
require
(
'
user.builtin
'
).
default_diagnostic_config
.
signs
.
values
)
do
vim
.
fn
.
sign_define
(
sign
.
name
, {
texthl
=
sign
.
name
,
text
=
sign
.
text
,
numhl
=
sign
.
name
})
end
if
lvim
.
builtin
.
tree_provider
==
"
nvimtree
"
then
lvim
.
builtin
.
nvimtree
.
setup
.
diagnostics
.
enable
=
true
lvim
.
builtin
.
nvimtree
.
setup
.
renderer
.
icons
.
webdev_colors
=
true
lvim
.
builtin
.
nvimtree
.
setup
.
renderer
.
icons
.
show
=
{
git
=
true
,
folder
=
true
,
file
=
true
,
folder_arrow
=
true
,
}
end
if
lvim
.
builtin
.
bufferline
.
active
then
lvim
.
builtin
.
bufferline
.
options
.
show_buffer_icons
=
true
lvim
.
builtin
.
bufferline
.
options
.
show_buffer_close_icons
=
true
end
end
M
.
define_dap_signs
=
function
()
vim
.
fn
.
sign_define
(
"
DapBreakpoint
"
,
lvim
.
builtin
.
dap
.
breakpoint
)
vim
.
fn
.
sign_define
(
"
DapStopped
"
,
lvim
.
builtin
.
dap
.
stopped
)
vim
.
fn
.
sign_define
(
"
DapBreakpointRejected
"
,
{
text
=
"
"
,
texthl
=
"
DapBreakpoint
"
,
linehl
=
"
DapBreakpoint
"
,
numhl
=
"
DapBreakpoint
"
}
)
vim
.
fn
.
sign_define
(
"
DapBreakpointCondition
"
,
{
text
=
"
"
,
texthl
=
"
DapBreakpoint
"
,
linehl
=
"
DapBreakpoint
"
,
numhl
=
"
DapBreakpoint
"
}
)
vim
.
fn
.
sign_define
(
"
DapLogPoint
"
,
{
text
=
"
"
,
texthl
=
"
DapLogPoint
"
,
linehl
=
"
DapLogPoint
"
,
numhl
=
"
DapLogPoint
"
}
)
end
return
M
Back
|
FazBrowse Home
|
New Git URL