diff --git a/config/keys.nix b/config/keys.nix index 8579a1c..3a0d307 100644 --- a/config/keys.nix +++ b/config/keys.nix @@ -177,6 +177,11 @@ icon = "󱡅"; desc = "Harpoon"; } + { + __unkeyed-1 = "n"; + icon = ""; + desc = "Bacon (Rust)"; + } ]; }; }; @@ -531,5 +536,19 @@ action = "Telescope dap frames"; options.desc = "Search Frames"; } + + # Bacon (Rust) + { + mode = "n"; + key = "nl"; + action = "BaconList"; + options.desc = "List Bacon Issues"; + } + { + mode = "n"; + key = "nn"; + action = "BaconLoad:w:BaconNext"; + options.desc = "Next Bacon Issue"; + } ]; } diff --git a/config/language.nix b/config/language.nix index 885d7e0..4ef6715 100644 --- a/config/language.nix +++ b/config/language.nix @@ -3,6 +3,7 @@ let in {pkgs, ...}: { plugins = { + avante.enable = true; cmp = { enable = true; settings = { diff --git a/config/rust/language.nix b/config/rust/language.nix index f1c5b57..14a96f1 100644 --- a/config/rust/language.nix +++ b/config/rust/language.nix @@ -1,15 +1,42 @@ {pkgs, ...}: { plugins = { + bacon.enable = true; conform-nvim = { enable = true; settings = {formatters_by_ft.rust = ["rustfmt"];}; }; + # dap-lldb.enable = true; rustaceanvim = { enable = true; settings = { - dap.adapter = { - command = "${pkgs.lldb_19}/bin/lldb-dap"; - type = "executable"; + # dap.adapters.rt_lldb = { + # name = "rt_lldb"; + # 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; server = {