forked from Shinonome/fred-neovim
Added commodity LSPs and telescope DAP commands
This commit is contained in:
@@ -44,6 +44,11 @@
|
|||||||
group = "Code Actions";
|
group = "Code Actions";
|
||||||
icon = "";
|
icon = "";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
__unkeyed-1 = "<leader>d/";
|
||||||
|
group = "Search";
|
||||||
|
icon = "";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -305,5 +310,31 @@
|
|||||||
action = "<CMD>BufferLineCloseLeft<CR>";
|
action = "<CMD>BufferLineCloseLeft<CR>";
|
||||||
options = { desc = "Delete Buffers to the Left"; };
|
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"; };
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -170,6 +170,7 @@ in { pkgs, ... }: {
|
|||||||
html = [ "prettier" ];
|
html = [ "prettier" ];
|
||||||
javascript = [ "prettier" ];
|
javascript = [ "prettier" ];
|
||||||
javascriptreact = [ "prettier" ];
|
javascriptreact = [ "prettier" ];
|
||||||
|
json = [ "prettier" ];
|
||||||
lua = [ "stylua" ];
|
lua = [ "stylua" ];
|
||||||
markdown = [ "prettier" ];
|
markdown = [ "prettier" ];
|
||||||
nix = [ "nixfmt" ];
|
nix = [ "nixfmt" ];
|
||||||
@@ -236,9 +237,12 @@ in { pkgs, ... }: {
|
|||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
servers = {
|
servers = {
|
||||||
|
jsonls.enable = true;
|
||||||
|
marksman.enable = true;
|
||||||
nil-ls.enable = true;
|
nil-ls.enable = true;
|
||||||
nixd.enable = true;
|
nixd.enable = true;
|
||||||
omnisharp.enable = true;
|
omnisharp.enable = true;
|
||||||
|
yamlls.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user