75 lines
2.1 KiB
Lua
75 lines
2.1 KiB
Lua
|
return {
|
||
|
{
|
||
|
"nvim-telescope/telescope.nvim",
|
||
|
event = "VeryLazy",
|
||
|
branch = "0.1.x",
|
||
|
dependencies = {
|
||
|
{ "nvim-telescope/telescope-fzf-native.nvim", build = "make" },
|
||
|
{ "nvim-telescope/telescope-ui-select.nvim" },
|
||
|
"nvim-lua/plenary.nvim",
|
||
|
},
|
||
|
config = function()
|
||
|
require "my.telescope"
|
||
|
end
|
||
|
},
|
||
|
{
|
||
|
"nvim-treesitter/nvim-treesitter",
|
||
|
dependencies = {
|
||
|
"nvim-treesitter/nvim-treesitter-textobjects",
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
"windwp/nvim-autopairs",
|
||
|
event = "InsertEnter",
|
||
|
opts = {}
|
||
|
},
|
||
|
{
|
||
|
"stevearc/oil.nvim",
|
||
|
tag = "v2.1.0",
|
||
|
opts = {
|
||
|
keymaps = {
|
||
|
["g?"] = "actions.show_help",
|
||
|
["<CR>"] = "actions.select",
|
||
|
["<C-v>"] = "actions.select_vsplit",
|
||
|
["<C-s>"] = "actions.select_split",
|
||
|
["<C-t>"] = "actions.select_tab",
|
||
|
["<C-p>"] = "actions.preview",
|
||
|
["<C-c>"] = "actions.close",
|
||
|
["r"] = "actions.refresh",
|
||
|
["-"] = "actions.parent",
|
||
|
["_"] = "actions.open_cwd",
|
||
|
["`"] = "actions.cd",
|
||
|
["~"] = "actions.tcd",
|
||
|
["g."] = "actions.toggle_hidden",
|
||
|
},
|
||
|
use_default_keymaps = false,
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"lewis6991/gitsigns.nvim",
|
||
|
event = "VeryLazy",
|
||
|
opts = {
|
||
|
current_line_blame = true,
|
||
|
current_line_blame_opts = {
|
||
|
delay = 300,
|
||
|
},
|
||
|
on_attach = require "my.keymaps".gitsigns_keymaps,
|
||
|
}
|
||
|
},
|
||
|
{ "lukas-reineke/lsp-format.nvim", tag = "v2.5.1" },
|
||
|
{ "nvim-tree/nvim-web-devicons", lazy = true },
|
||
|
{
|
||
|
"L3MON4D3/LuaSnip",
|
||
|
version = "v2.*",
|
||
|
-- install jsregexp (optional!).
|
||
|
build = "make install_jsregexp"
|
||
|
},
|
||
|
{
|
||
|
'echasnovski/mini.nvim',
|
||
|
version = '*',
|
||
|
config = function()
|
||
|
require "mini.statusline".setup()
|
||
|
end
|
||
|
},
|
||
|
}
|