77 lines
2.2 KiB
Lua
77 lines
2.2 KiB
Lua
return {
|
|
--TODO: Move the treesitter
|
|
{
|
|
'spywhere/detect-language.nvim',
|
|
config = function()
|
|
require('detect-language').setup()
|
|
end
|
|
},
|
|
{
|
|
'kevinhwang91/nvim-ufo',
|
|
dependencies = 'kevinhwang91/promise-async',
|
|
config = function()
|
|
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", -- also try out "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" },
|
|
},
|
|
},
|
|
}
|