Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1202857417 | |||
| bcad05d8ec |
+2
-1
@@ -10,10 +10,10 @@
|
|||||||
./modules/plugins/blink-cmp.nix
|
./modules/plugins/blink-cmp.nix
|
||||||
./modules/plugins/bufferline.nix
|
./modules/plugins/bufferline.nix
|
||||||
./modules/plugins/conform-nvim.nix
|
./modules/plugins/conform-nvim.nix
|
||||||
|
./modules/plugins/dap.nix
|
||||||
./modules/plugins/fzf-lua.nix
|
./modules/plugins/fzf-lua.nix
|
||||||
./modules/plugins/gitsigns.nix
|
./modules/plugins/gitsigns.nix
|
||||||
./modules/plugins/mini.nix
|
./modules/plugins/mini.nix
|
||||||
# ./modules/plugins/neotree.nix
|
|
||||||
./modules/plugins/oil.nix
|
./modules/plugins/oil.nix
|
||||||
./modules/plugins/snacks.nix
|
./modules/plugins/snacks.nix
|
||||||
./modules/plugins/tmux-navigator.nix
|
./modules/plugins/tmux-navigator.nix
|
||||||
@@ -21,6 +21,7 @@
|
|||||||
./modules/plugins/undotree.nix
|
./modules/plugins/undotree.nix
|
||||||
./modules/plugins/venv-selector.nix
|
./modules/plugins/venv-selector.nix
|
||||||
./modules/plugins/which-key.nix
|
./modules/plugins/which-key.nix
|
||||||
|
# ./modules/plugins/neotree.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
performance.byteCompileLua.enable = true;
|
performance.byteCompileLua.enable = true;
|
||||||
|
|||||||
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
plugins.dap = {
|
||||||
|
enable = true;
|
||||||
|
luaConfig.post = ''
|
||||||
|
local dap = require('dap')
|
||||||
|
|
||||||
|
dap.configurations.python = {
|
||||||
|
{
|
||||||
|
type = 'python',
|
||||||
|
request = 'attach',
|
||||||
|
name = 'Attach Remote (prompt for path)',
|
||||||
|
connect = {
|
||||||
|
host = '127.0.0.1',
|
||||||
|
port = 5678,
|
||||||
|
},
|
||||||
|
pathMappings = function()
|
||||||
|
local remoteRoot = vim.fn.input('Remote root path: ', '/app')
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
localRoot = vim.fn.getcwd(),
|
||||||
|
remoteRoot = remoteRoot,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
plugins.dap-ui.enable = true;
|
||||||
|
plugins.dap-python.enable = true;
|
||||||
|
|
||||||
|
keymaps = [ ];
|
||||||
|
}
|
||||||
Generated
+6
-6
@@ -87,11 +87,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771714954,
|
"lastModified": 1771903837,
|
||||||
"narHash": "sha256-nhZJPnBavtu40/L2aqpljrfUNb2rxmWTmSjK2c9UKds=",
|
"narHash": "sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "afbbf774e2087c3d734266c22f96fca2e78d3620",
|
"rev": "e764fc9a405871f1f6ca3d1394fb422e0a0c3951",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -118,11 +118,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1771714954,
|
"lastModified": 1771903837,
|
||||||
"narHash": "sha256-nhZJPnBavtu40/L2aqpljrfUNb2rxmWTmSjK2c9UKds=",
|
"narHash": "sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "afbbf774e2087c3d734266c22f96fca2e78d3620",
|
"rev": "e764fc9a405871f1f6ca3d1394fb422e0a0c3951",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
Reference in New Issue
Block a user