forked from Shinonome/fred-neovim
Updated rust configurations
This commit is contained in:
@@ -177,6 +177,11 @@
|
|||||||
icon = "";
|
icon = "";
|
||||||
desc = "Harpoon";
|
desc = "Harpoon";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
__unkeyed-1 = "<leader>n";
|
||||||
|
icon = "";
|
||||||
|
desc = "Bacon (Rust)";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -531,5 +536,19 @@
|
|||||||
action = "<CMD>Telescope dap frames<CR>";
|
action = "<CMD>Telescope dap frames<CR>";
|
||||||
options.desc = "Search Frames";
|
options.desc = "Search Frames";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Bacon (Rust)
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>nl";
|
||||||
|
action = "<CMD>BaconList<CR>";
|
||||||
|
options.desc = "List Bacon Issues";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>nn";
|
||||||
|
action = "<CMD>BaconLoad<CR>:w<CR>:BaconNext<CR>";
|
||||||
|
options.desc = "Next Bacon Issue";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ let
|
|||||||
in
|
in
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
plugins = {
|
plugins = {
|
||||||
|
avante.enable = true;
|
||||||
cmp = {
|
cmp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,15 +1,42 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
plugins = {
|
plugins = {
|
||||||
|
bacon.enable = true;
|
||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {formatters_by_ft.rust = ["rustfmt"];};
|
settings = {formatters_by_ft.rust = ["rustfmt"];};
|
||||||
};
|
};
|
||||||
|
# dap-lldb.enable = true;
|
||||||
rustaceanvim = {
|
rustaceanvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
dap.adapter = {
|
# dap.adapters.rt_lldb = {
|
||||||
command = "${pkgs.lldb_19}/bin/lldb-dap";
|
# name = "rt_lldb";
|
||||||
type = "executable";
|
# command = "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb-dap";
|
||||||
|
# type = "executable";
|
||||||
|
# };
|
||||||
|
# dap.adapters.lldb = {
|
||||||
|
# name = "Deeeeebug";
|
||||||
|
# type = "lldb-dap";
|
||||||
|
# request = "launch";
|
||||||
|
# # port = "${''$''}{port}/bin/rust-lldb-vscode-adapter";
|
||||||
|
# # command = "/opt/homebrew/opt/llvm/bin/lldb-dap";
|
||||||
|
# # program = "./target/debug/deckgame";
|
||||||
|
# };
|
||||||
|
# dap.adapters.rt_lldb = {
|
||||||
|
# name = "lldb";
|
||||||
|
# type = "executable";
|
||||||
|
# #command = "${pkgs.lldb}/bin/lldb-dap";
|
||||||
|
# command = "${pkgs.vscode-extensions.vadimcn.vscode-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb";
|
||||||
|
# };
|
||||||
|
server = {
|
||||||
|
dap.adapters.lldb = {
|
||||||
|
type = "server";
|
||||||
|
port = "${''$''}{port}";
|
||||||
|
executable = {
|
||||||
|
command = "codelldb";
|
||||||
|
args = ["--port" "${''$''}{port}"];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
tools.enable_clippy = true;
|
tools.enable_clippy = true;
|
||||||
server = {
|
server = {
|
||||||
|
|||||||
Reference in New Issue
Block a user