Compare commits
23 Commits
1.10.6
...
feat/nvim-dap
| Author | SHA1 | Date | |
|---|---|---|---|
| 1202857417 | |||
| bcad05d8ec | |||
| 232e31f4e4 | |||
| ec9e40dd6b | |||
| 226642ba54 | |||
| d8ac9cfcfe | |||
| 30da4f8404 | |||
| 3aef60a590 | |||
| 8ad5890f43 | |||
| 673a4063aa | |||
| be123a6ae3 | |||
| f588ea9713 | |||
| 20663750ab | |||
| d1e2bd1e4e | |||
| 66e5105f72 | |||
| fbb56f446a | |||
| 63d25677a7 | |||
| 2f5d3ff853 | |||
| 9219404b1f | |||
| 12394ad542 | |||
| 7561b0e946 | |||
| 398745443d | |||
| fba52b1f2f |
+2
-1
@@ -10,10 +10,10 @@
|
||||
./modules/plugins/blink-cmp.nix
|
||||
./modules/plugins/bufferline.nix
|
||||
./modules/plugins/conform-nvim.nix
|
||||
./modules/plugins/dap.nix
|
||||
./modules/plugins/fzf-lua.nix
|
||||
./modules/plugins/gitsigns.nix
|
||||
./modules/plugins/mini.nix
|
||||
# ./modules/plugins/neotree.nix
|
||||
./modules/plugins/oil.nix
|
||||
./modules/plugins/snacks.nix
|
||||
./modules/plugins/tmux-navigator.nix
|
||||
@@ -21,6 +21,7 @@
|
||||
./modules/plugins/undotree.nix
|
||||
./modules/plugins/venv-selector.nix
|
||||
./modules/plugins/which-key.nix
|
||||
# ./modules/plugins/neotree.nix
|
||||
];
|
||||
|
||||
performance.byteCompileLua.enable = true;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
config = {
|
||||
extraConfigLuaPre =
|
||||
@@ -41,7 +42,12 @@
|
||||
|
||||
plugins.conform-nvim = {
|
||||
enable = true;
|
||||
autoInstall.enable = true;
|
||||
autoInstall = {
|
||||
enable = true;
|
||||
overrides = {
|
||||
"terraform_fmt" = pkgs.asdf-vm;
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
default_format_opts.lsp_format = "fallback";
|
||||
formatters_by_ft = {
|
||||
|
||||
@@ -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": {
|
||||
"locked": {
|
||||
"lastModified": 1767634882,
|
||||
"narHash": "sha256-2GffSfQxe3sedHzK+sTKlYo/NTIAGzbFCIsNMUPAAnk=",
|
||||
"lastModified": 1771903837,
|
||||
"narHash": "sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3c9db02515ef1d9b6b709fc60ba9a540957f661c",
|
||||
"rev": "e764fc9a405871f1f6ca3d1394fb422e0a0c3951",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -118,11 +118,11 @@
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1767634882,
|
||||
"narHash": "sha256-2GffSfQxe3sedHzK+sTKlYo/NTIAGzbFCIsNMUPAAnk=",
|
||||
"lastModified": 1771903837,
|
||||
"narHash": "sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3c9db02515ef1d9b6b709fc60ba9a540957f661c",
|
||||
"rev": "e764fc9a405871f1f6ca3d1394fb422e0a0c3951",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
Reference in New Issue
Block a user