neovim/lua/plugins/dev-tools.lua

75 lines
1.7 KiB
Lua
Raw Normal View History

-- Development tools and utilities
return {
{
"codersauce/runst.nvim",
lazy = false,
opts = {},
config = function()
require("runst").setup()
end,
},
2025-11-11 20:58:56 -05:00
{
"mrcjkb/rustaceanvim",
version = "^6", -- Recommended
lazy = false, -- This plugin is already lazy
},
{
"cdelledonne/vim-cmake",
cond = vim.fn.executable("cmake") == 1,
},
2025-09-03 20:00:02 -04:00
{
"f-person/git-blame.nvim",
opts = {
enabled = false,
2026-04-07 11:30:06 -04:00
message_template = "<<sha>> • <author> • <summary> • <date>",
},
},
{
"Exafunction/windsurf.vim",
event = "BufEnter",
cond = os.getenv("NVIM_USE_WINDSURF") == "true",
},
{
"danymat/neogen",
setup = {
snippet_engine = "luasnip",
},
config = function()
require("neogen").setup({})
local opts = { noremap = true, silent = true }
vim.api.nvim_set_keymap("n", "<Leader>dg", ":lua require('neogen').generate()<CR>", opts)
end,
version = "*",
},
{
"greggh/claude-code.nvim",
dependencies = {
"nvim-lua/plenary.nvim", -- Required for git operations
},
config = function()
require("claude-code").setup({
window = {
split_ratio = 0.3, -- Percentage of screen for the terminal window (height for horizontal, width for vertical splits)
position = "vertical", -- Position of the window: "botright", "topleft", "vertical", "float", etc.
},
keymaps = {
toggle = {
normal = "<leader>cc", -- Normal mode keymap for toggling Claude Code, false to disable
terminal = "<leader>cc", -- Terminal mode keymap for toggling Claude Code, false to disable
variants = {
continue = "<leader>cC", -- Normal mode keymap for Claude Code with continue flag
verbose = "<leader>cV", -- Normal mode keymap for Claude Code with verbose flag
},
},
},
})
end,
},
2025-09-03 20:00:02 -04:00
}