42 lines
971 B
Lua
42 lines
971 B
Lua
return {
|
|
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
|
|
{ "nvim-tree/nvim-web-devicons", lazy = true },
|
|
{
|
|
-- Highlight word under cursor
|
|
"RRethy/vim-illuminate",
|
|
event = { "BufReadPost", "BufNewFile" },
|
|
opts = {
|
|
delay = 200,
|
|
filetypes_denylist = {
|
|
'dirbuf',
|
|
'dirvish',
|
|
'fugitive',
|
|
'aerial',
|
|
},
|
|
},
|
|
config = function(_, opts)
|
|
require("illuminate").configure(opts)
|
|
end,
|
|
},
|
|
{
|
|
"ckolkey/ts-node-action",
|
|
dependencies = { "nvim-treesitter" },
|
|
opts = {},
|
|
keys = {
|
|
{ "<leader>ls", function() require("ts-node-action").node_action() end, desc = "Node Action" }
|
|
}
|
|
},
|
|
{
|
|
"Wansmer/treesj",
|
|
cmd = { "TSJToggle" },
|
|
keys = {
|
|
{ "<leader>lm", "<CMD>TSJToggle<CR>", desc = "Toggle treesitter join" },
|
|
},
|
|
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
|
opts = {
|
|
use_default_keymaps = true,
|
|
},
|
|
},
|
|
|
|
|
|
}
|