disable plugins if we don't have the cli

This commit is contained in:
2026-07-08 16:10:53 -04:00
parent d637a2c72a
commit 5471ed7383
3 changed files with 87 additions and 80 deletions
-2
View File
@@ -128,7 +128,6 @@ vim.pack.add({
{ src = 'https://github.com/MeanderingProgrammer/render-markdown.nvim' },
{ src = 'https://github.com/MunifTanjim/nui.nvim' },
{ src = 'https://github.com/NeogitOrg/neogit' },
{ src = 'https://github.com/NicolasGB/jj.nvim' },
{ src = 'https://github.com/PhantomYdn/fabric-ai.nvim' },
{ src = 'https://github.com/Saecki/crates.nvim' },
{ src = 'https://github.com/Saghen/blink.cmp', version = vim.version.range('1.*') },
@@ -137,7 +136,6 @@ vim.pack.add({
{ src = 'https://github.com/WhoIsSethDaniel/mason-tool-installer.nvim' },
{ src = 'https://github.com/akinsho/org-bullets.nvim' },
{ src = 'https://github.com/akinsho/toggleterm.nvim' },
{ src = 'https://github.com/al1-ce/just.nvim' },
{ src = 'https://github.com/cairijun/codecompanion-agentskills.nvim' },
{ src = 'https://github.com/carlos-algms/agentic.nvim' },
{ src = 'https://github.com/chipsenkbeil/org-roam.nvim' },
+3
View File
@@ -1,3 +1,5 @@
if vim.fn.executable("jj") == 1 then
vim.pack.add({ { src = 'https://github.com/NicolasGB/jj.nvim' } })
local cmd = require("jj.cmd")
local annotate = require("jj.annotate")
@@ -76,3 +78,4 @@ require('jjsigns').setup({
})
vim.keymap.set("n", "<leader>uJ", function() require('jjsigns').toggle() end, { desc = "Toggle JJ signs" })
end
+7 -1
View File
@@ -1,5 +1,8 @@
require('kulala').setup()
if vim.fn.executable("just") == 1 then
vim.pack.add({ { src = 'https://github.com/al1-ce/just.nvim' } })
require("just").setup({
fidget_message_limit = 32, -- limit for length of fidget progress message
open_qf_on_error = true, -- opens quickfix when task fails
@@ -9,6 +12,8 @@ require("just").setup({
register_commands = true, -- if set to true then commands (:Just*) will be registered
notify = vim.notify, -- what to use to show messages/errors
})
end
require('img-clip').setup()
require('image').setup({
backend = "sixel"
@@ -46,11 +51,13 @@ require('neogit').setup({
},
})
if vim.fn.executable("zoxide") == 1 then
require('zincoxide').setup({
zincoxide_cmd = "zoxide",
complete = true,
behaviour = "tabs",
})
end
require('trouble').setup({
defaults = {
@@ -266,4 +273,3 @@ vim.keymap.set('n', "<leader>cQ", "<cmd>Trouble qflist toggle<cr>", { desc = "Qu
vim.keymap.set('n', "<leader>uo", "<cmd>OverseerToggle<CR>", { desc = "Overseer Toggle" })
vim.keymap.set('n', "<F5>", "<cmd>OverseerRun<CR>", { desc = "Run Overseer" })
vim.keymap.set('n', "<F6>", "<cmd>OverseerToggle<CR>", { desc = "Overseer Toggle" })