Skip to content

Commit 5c343a8

Browse files
author
Primeagain
committed
automated dev commit
1 parent 158c9cc commit 5c343a8

File tree

4 files changed

+91
-61
lines changed

4 files changed

+91
-61
lines changed

lua/theprimeagen/lazy/local.lua

Lines changed: 88 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,102 @@
1-
21
local local_plugins = {
3-
--{
4-
-- "vim-guys",
5-
-- dir = "~/personal/vim-guys",
6-
-- config = function()
7-
-- end,
8-
--},
9-
--{
10-
-- "cockpit",
11-
-- dir = "~/personal/cockpit",
12-
-- config = function()
13-
-- require("cockpit")
14-
-- vim.keymap.set("n", "<leader>ct", "<cmd>CockpitTest<CR>")
15-
-- vim.keymap.set("n", "<leader>cr", "<cmd>CockpitRefresh<CR>")
16-
-- end,
17-
--},
18-
19-
--{
20-
-- "streamer",
21-
-- dir = "~/personal/eleven-streamer",
22-
-- dependencies = {
23-
-- "livinglogic-nl/ws.nvim"
24-
-- },
25-
-- config = function() end
26-
--},
2+
--{
3+
-- "vim-guys",
4+
-- dir = "~/personal/vim-guys",
5+
-- config = function()
6+
-- end,
7+
--},
8+
--{
9+
-- "cockpit",
10+
-- dir = "~/personal/cockpit",
11+
-- config = function()
12+
-- require("cockpit")
13+
-- vim.keymap.set("n", "<leader>ct", "<cmd>CockpitTest<CR>")
14+
-- vim.keymap.set("n", "<leader>cr", "<cmd>CockpitRefresh<CR>")
15+
-- end,
16+
--},
2717

18+
{
19+
"streamer",
20+
dir = "~/personal/eleven-streamer",
21+
config = function()
22+
vim.keymap.set("n", "<leader>er", function()
23+
require("streamer").reload()
24+
end)
25+
vim.keymap.set("n", "<leader>es", function()
26+
require("streamer.projects.unnamed_event").ue()
27+
end)
28+
vim.keymap.set("n", "<leader>en", function()
29+
require("streamer.projects.unnamed_event").stop()
30+
end)
31+
end,
32+
},
2833

29-
{
30-
"caleb",
31-
dir = "~/personal/caleb",
32-
config = function() end
33-
},
34-
{
35-
"harpoon",
36-
dir = "~/personal/harpoon",
37-
config = function()
38-
local harpoon = require("harpoon")
34+
{
35+
"caleb",
36+
dir = "~/personal/caleb",
37+
config = function() end,
38+
},
39+
{
40+
"harpoon",
41+
dir = "~/personal/harpoon",
42+
config = function()
43+
local harpoon = require("harpoon")
3944

40-
harpoon:setup()
45+
harpoon:setup()
4146

42-
vim.keymap.set("n", "<leader>A", function() harpoon:list():prepend() end)
43-
vim.keymap.set("n", "<leader>a", function() harpoon:list():add() end)
44-
vim.keymap.set("n", "<C-e>", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
47+
vim.keymap.set("n", "<leader>A", function()
48+
harpoon:list():prepend()
49+
end)
50+
vim.keymap.set("n", "<leader>a", function()
51+
harpoon:list():add()
52+
end)
53+
vim.keymap.set("n", "<C-e>", function()
54+
harpoon.ui:toggle_quick_menu(harpoon:list())
55+
end)
4556

46-
vim.keymap.set("n", "<C-h>", function() harpoon:list():select(1) end)
47-
vim.keymap.set("n", "<C-t>", function() harpoon:list():select(2) end)
48-
vim.keymap.set("n", "<C-n>", function() harpoon:list():select(3) end)
49-
vim.keymap.set("n", "<C-s>", function() harpoon:list():select(4) end)
50-
vim.keymap.set("n", "<leader><C-h>", function() harpoon:list():replace_at(1) end)
51-
vim.keymap.set("n", "<leader><C-t>", function() harpoon:list():replace_at(2) end)
52-
vim.keymap.set("n", "<leader><C-n>", function() harpoon:list():replace_at(3) end)
53-
vim.keymap.set("n", "<leader><C-s>", function() harpoon:list():replace_at(4) end)
54-
end
55-
},
56-
{
57-
"vim-apm", dir = "~/personal/vim-apm",
58-
config = function()
59-
--[[
57+
vim.keymap.set("n", "<C-h>", function()
58+
harpoon:list():select(1)
59+
end)
60+
vim.keymap.set("n", "<C-t>", function()
61+
harpoon:list():select(2)
62+
end)
63+
vim.keymap.set("n", "<C-n>", function()
64+
harpoon:list():select(3)
65+
end)
66+
vim.keymap.set("n", "<C-s>", function()
67+
harpoon:list():select(4)
68+
end)
69+
vim.keymap.set("n", "<leader><C-h>", function()
70+
harpoon:list():replace_at(1)
71+
end)
72+
vim.keymap.set("n", "<leader><C-t>", function()
73+
harpoon:list():replace_at(2)
74+
end)
75+
vim.keymap.set("n", "<leader><C-n>", function()
76+
harpoon:list():replace_at(3)
77+
end)
78+
vim.keymap.set("n", "<leader><C-s>", function()
79+
harpoon:list():replace_at(4)
80+
end)
81+
end,
82+
},
83+
{
84+
"vim-apm",
85+
dir = "~/personal/vim-apm",
86+
config = function()
87+
--[[
6088
local apm = require("vim-apm")
6189
6290
apm:setup({})
6391
vim.keymap.set("n", "<leader>apm", function() apm:toggle_monitor() end)
6492
--]]
65-
end
66-
},
67-
{
68-
"vim-with-me", dir = "~/personal/vim-with-me",
69-
config = function() end
70-
},
93+
end,
94+
},
95+
{
96+
"vim-with-me",
97+
dir = "~/personal/vim-with-me",
98+
config = function() end,
99+
},
71100
}
72101

73102
return local_plugins
74-

lua/theprimeagen/lazy/lsp.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ return {
4444
ensure_installed = {
4545
"lua_ls",
4646
"rust_analyzer",
47+
"tsserver",
4748
"gopls",
4849
},
4950
handlers = {

lua/theprimeagen/lazy/treesitter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ return {
2525
-- `false` will disable the whole extension
2626
enable = true,
2727
disable = function(lang, buf)
28-
if lang == "html" or lang == "go" then
28+
if lang == "html" then
2929
print("disabled")
3030
return true
3131
end

lua/theprimeagen/remap.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ end)
7878
vim.keymap.set("n", "<leader><leader>", function()
7979
vim.cmd("so")
8080
end)
81+

0 commit comments

Comments
 (0)