dots/configs/nvim/lua/aleidk/plugins/init.lua
2025-09-01 12:17:39 -04:00

29 lines
726 B
Lua

return {
'neovim/nvim-lspconfig',
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
{
"mason-org/mason.nvim",
opts = {}
},
{
"ckolkey/ts-node-action",
dependencies = { "nvim-treesitter" },
opts = {},
keys = {
{ "<leader>ls", function() require("ts-node-action").node_action() end, desc = "Node Action" }
}
},
{
-- allow to reuse the same nvim instance when opening files in the same terminal context
"willothy/flatten.nvim",
opts = {
integrations = {
kitty = true,
wezterm = false,
},
},
-- Ensure that it runs first to minimize delay when opening file from terminal
lazy = false,
priority = 1001,
},
}