-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathlazy.lua
More file actions
76 lines (76 loc) · 1.51 KB
/
lazy.lua
File metadata and controls
76 lines (76 loc) · 1.51 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
return {
"Aietes/esp32.nvim",
name = "esp32.nvim",
main = "esp32",
dependencies = {
"folke/snacks.nvim",
},
specs = {
{
"folke/which-key.nvim",
optional = true,
opts = {
spec = {
{ "<leader>R", group = "ESP32", icon = { icon = "", color = "red" } },
},
},
},
},
opts = {
build_dir = "build.clang",
},
keys = {
{ "<leader>R", group = "ESP32" },
{
"<leader>Rb",
function()
require("esp32").build()
end,
desc = "ESP32: Build",
},
{
"<leader>RM",
function()
require("esp32").pick("monitor")
end,
desc = "ESP32: Pick & Monitor",
},
{
"<leader>Rm",
function()
require("esp32").command("monitor")
end,
desc = "ESP32: Monitor",
},
{
"<leader>RF",
function()
require("esp32").pick("flash")
end,
desc = "ESP32: Pick & Flash",
},
{
"<leader>Rf",
function()
require("esp32").command("flash")
end,
desc = "ESP32: Flash",
},
{
"<leader>Rc",
function()
require("esp32").command("menuconfig")
end,
desc = "ESP32: Configure",
},
{
"<leader>RC",
function()
require("esp32").command("clean")
end,
desc = "ESP32: Clean",
},
{ "<leader>Rr", ":ESPReconfigure<CR>", desc = "ESP32: Reconfigure project" },
{ "<leader>Ri", ":ESPInfo<CR>", desc = "ESP32: Project Info" },
},
}