neovim/lua/plugin/editor-plugins.lua

82 lines
2.4 KiB
Lua

return {
{
'kevinhwang91/nvim-ufo',
dependencies = 'kevinhwang91/promise-async',
config = function()
---@diagnostic disable-next-line: missing-fields
require('ufo').setup({
provider_selector = function(bufnr, filetype, buftype)
return { 'treesitter', 'indent' }
end
})
end
},
{
"nvim-zh/colorful-winsep.nvim",
config = true,
event = { "WinLeave" },
},
{
'pteroctopus/faster.nvim'
},
{
'nvim-pack/nvim-spectre'
},
{
'fedepujol/move.nvim',
config = function()
require('move').setup({
require('move').setup({
line = {
enable = true, -- Enables line movement
indent = true -- Toggles indentation
},
block = {
enable = true, -- Enables block movement
indent = true -- Toggles indentation
},
word = {
enable = true, -- Enables word movement
},
char = {
enable = true -- Enables char movement
}
})
})
end
},
{
'smoka7/hop.nvim',
version = "*",
opts = {},
},
{
"cbochs/grapple.nvim",
dependencies = {
{ "nvim-tree/nvim-web-devicons", lazy = true }
},
opts = {
scope = "git_branch",
},
event = { "BufReadPost", "BufNewFile" },
cmd = "Grapple",
keys = {
{ "<leader>M", "<cmd>Grapple toggle<cr>", desc = "Grapple toggle tag" },
{ "<leader>m", "<cmd>Grapple toggle_tags<cr>", desc = "Grapple open tags window" },
{ "<leader>n", "<cmd>Grapple cycle_tags next<cr>", desc = "Grapple cycle next tag" },
{ "<leader>N", "<cmd>Grapple cycle_tags prev<cr>", desc = "Grapple cycle previous tag" },
},
},
{
"folke/ts-comments.nvim",
opts = {},
event = "VeryLazy",
enabled = vim.fn.has("nvim-0.10.0") == 1,
},
{
'Chaitanyabsprip/fastaction.nvim',
---@type FastActionConfig
opts = {},
}
}