32 lines
818 B
Lua
32 lines
818 B
Lua
return {
|
|
{
|
|
"mason-org/mason-lspconfig.nvim",
|
|
opts = {},
|
|
dependencies = {
|
|
{ "mason-org/mason.nvim", opts = {} },
|
|
"neovim/nvim-lspconfig",
|
|
},
|
|
},
|
|
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
|
{
|
|
"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,
|
|
},
|
|
}
|