Skip to content

Commit 92de09e

Browse files
committed
nvim: plugin stuff
1 parent 3e1819b commit 92de09e

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

modules/home/common/nvim/lua/options.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ vim.opt.number = true -- enable line numbers
5454
vim.opt.relativenumber = true -- enable relative line numbers
5555

5656
-- view
57-
vim.opt.scrolloff = 8 -- always show this many lines of context at the edges
57+
vim.opt.scrolloff = 16 -- always show this many lines of context at the edges
5858
vim.opt.sidescrolloff = 16 -- always show this many columns of context at the edges
5959

6060
-- splits

modules/home/common/nvim/lua/plugins.lua

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,23 @@ return inject_all({
13981398
port = "2345",
13991399
},
14001400
},
1401+
{
1402+
type = "go",
1403+
name = "container",
1404+
mode = "remote",
1405+
request = "attach",
1406+
showLog = true,
1407+
connect = {
1408+
host = "127.0.0.1",
1409+
port = "2345",
1410+
},
1411+
substitutePath = {
1412+
{
1413+
from = vim.fn.getcwd(),
1414+
to = "/app",
1415+
},
1416+
},
1417+
},
14011418
},
14021419
},
14031420
},
@@ -1422,9 +1439,6 @@ return inject_all({
14221439
vim.cmd("startinsert")
14231440
end,
14241441
})
1425-
dap.listeners.after.event_initialized["hide-dap-view-buf"] = function()
1426-
vim.api.nvim_set_option_value("buflisted", false, { buf = require("dap-view.state").term_bufnr })
1427-
end
14281442
-- debug mode map overlay
14291443
DEBUG_MODE = Layers.mode.new("Debug Mode")
14301444
DEBUG_MODE:auto_show_help()

0 commit comments

Comments
 (0)