Added commodity LSPs and telescope DAP commands

This commit is contained in:
Fred Drake
2024-10-02 20:09:44 -04:00
parent 5ef7a65959
commit 31aa98dc91
2 changed files with 35 additions and 0 deletions
+31
View File
@@ -44,6 +44,11 @@
group = "Code Actions";
icon = "";
}
{
__unkeyed-1 = "<leader>d/";
group = "Search";
icon = "";
}
];
};
};
@@ -305,5 +310,31 @@
action = "<CMD>BufferLineCloseLeft<CR>";
options = { desc = "Delete Buffers to the Left"; };
}
# DAP Telescope Actions
{
mode = "n";
key = "<leader>d/c";
action = "<CMD>Telescope dap commands<CR>";
options = { desc = "Search Commands"; };
}
{
mode = "n";
key = "<leader>d/b";
action = "<CMD>Telescope dap list_breakpoints<CR>";
options = { desc = "Search Breakpoints"; };
}
{
mode = "n";
key = "<leader>d/v";
action = "<CMD>Telescope dap variables<CR>";
options = { desc = "Search Variables"; };
}
{
mode = "n";
key = "<leader>d/f";
action = "<CMD>Telescope dap frames<CR>";
options = { desc = "Search Frames"; };
}
];
}
+4
View File
@@ -170,6 +170,7 @@ in { pkgs, ... }: {
html = [ "prettier" ];
javascript = [ "prettier" ];
javascriptreact = [ "prettier" ];
json = [ "prettier" ];
lua = [ "stylua" ];
markdown = [ "prettier" ];
nix = [ "nixfmt" ];
@@ -236,9 +237,12 @@ in { pkgs, ... }: {
end
'';
servers = {
jsonls.enable = true;
marksman.enable = true;
nil-ls.enable = true;
nixd.enable = true;
omnisharp.enable = true;
yamlls.enable = true;
};
};