File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
modules/home/common/nvim/lua Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ vim.opt.number = true -- enable line numbers
5454vim .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
5858vim .opt .sidescrolloff = 16 -- always show this many columns of context at the edges
5959
6060-- splits
Original file line number Diff line number Diff 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 ()
You can’t perform that action at this time.
0 commit comments