Compare commits
3 Commits
708867b10e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 881b809c32 | |||
| f9ee084b95 | |||
| f087afaae4 |
@@ -26,21 +26,6 @@ return {
|
|||||||
cmd = { vim.fn.stdpath("config") .. "/shell/clangd-direnv.sh" }
|
cmd = { vim.fn.stdpath("config") .. "/shell/clangd-direnv.sh" }
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.config("rust_analyzer", {
|
|
||||||
capabilities = capabilities,
|
|
||||||
settings = {
|
|
||||||
["rust-analyzer"] = {
|
|
||||||
workspace = {
|
|
||||||
symbol = {
|
|
||||||
search = {
|
|
||||||
kind = "all_symbols",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.lsp.enable("hls")
|
vim.lsp.enable("hls")
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,69 +0,0 @@
|
|||||||
return {
|
|
||||||
"folke/sidekick.nvim",
|
|
||||||
opts = {
|
|
||||||
nes = {
|
|
||||||
enabled = false,
|
|
||||||
},
|
|
||||||
-- add any options here
|
|
||||||
cli = {
|
|
||||||
mux = {
|
|
||||||
backend = "zellij",
|
|
||||||
enabled = true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
".",
|
|
||||||
function() require("sidekick.cli").toggle("opencode") end,
|
|
||||||
desc = "Sidekick Toggle",
|
|
||||||
mode = { "n" },
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>aa",
|
|
||||||
function() require("sidekick.cli").toggle() end,
|
|
||||||
desc = "Sidekick Toggle CLI",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>as",
|
|
||||||
function() require("sidekick.cli").select() end,
|
|
||||||
-- Or to select only installed tools:
|
|
||||||
-- require("sidekick.cli").select({ filter = { installed = true } })
|
|
||||||
desc = "Select CLI",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>ad",
|
|
||||||
function() require("sidekick.cli").close() end,
|
|
||||||
desc = "Detach a CLI Session",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>at",
|
|
||||||
function() require("sidekick.cli").send({ msg = "{this}" }) end,
|
|
||||||
mode = { "x", "n" },
|
|
||||||
desc = "Send This",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>af",
|
|
||||||
function() require("sidekick.cli").send({ msg = "{file}" }) end,
|
|
||||||
desc = "Send File",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>av",
|
|
||||||
function() require("sidekick.cli").send({ msg = "{selection}" }) end,
|
|
||||||
mode = { "x" },
|
|
||||||
desc = "Send Visual Selection",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"<leader>ap",
|
|
||||||
function() require("sidekick.cli").prompt() end,
|
|
||||||
mode = { "n", "x" },
|
|
||||||
desc = "Sidekick Select Prompt",
|
|
||||||
},
|
|
||||||
-- Example of a keybinding to open Claude directly
|
|
||||||
{
|
|
||||||
"<leader>ac",
|
|
||||||
function() require("sidekick.cli").toggle({ name = "claude", focus = true }) end,
|
|
||||||
desc = "Sidekick Toggle Claude",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user