init.lua/lua/plugins/core.lua(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
local map = require("core.utils").smap
return {
"nvim-lua/plenary.nvim",
"kyazdani42/nvim-web-devicons",
{ "olexsmir/gopher.nvim", ft = "go", dev = true },
{ "tpope/vim-surround", keys = { "c", "d", "y" } },
{ "tpope/vim-repeat", event = "VeryLazy" },
{ "tweekmonster/helpful.vim", cmd = "HelpfulVersion" },
{
"folke/tokyonight.nvim",
lazy = false,
config = function()
vim.cmd.colorscheme "tokyonight-night"
end,
},
{
"folke/todo-comments.nvim",
event = "BufRead",
config = true,
},
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {
check_ts = true,
disable_filetype = { "TelescopePrompt", "markdown" },
},
},
{
"numToStr/Comment.nvim",
config = true,
keys = {
{ "gc", mode = "n" },
{ "gc", mode = "v" },
},
},
{
"ahmedkhalf/project.nvim",
event = "VeryLazy",
config = function()
require("project_nvim").setup {
show_hidden = true,
patterns = {
"^\\.git$",
"Makefile",
"Justfile",
[[Taskfile\.ya?ml]],
[[docker-compose\.ya?ml]],
"*.Dockerfile.*",
"package.json",
"go.mod",
"go.work",
"pyproject.toml",
"Cargo.toml",
"deps.edn",
},
}
end,
},
{
"echasnovski/mini.bufremove",
keys = { { "<leader>c", map("mini.bufremove", "delete", "0, false") } },
},
}
|