init.lua/lua/plugins/common.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 |
return {
{
"ahmedkhalf/project.nvim",
event = "VeryLazy",
config = function()
require("project_nvim").setup {
show_hidden = true,
patterns = {
"^\\.git$",
"Makefile",
"Justfile",
"package.json",
"go.mod",
"go.work",
"pyproject.toml",
"Cargo.toml",
"deps.edn",
},
}
end,
},
{
"numToStr/Comment.nvim",
event = "BufRead",
keys = "gc",
config = true,
},
{
"windwp/nvim-autopairs",
event = "InsertEnter",
opts = {
check_ts = true,
disable_filetype = { "TelescopePrompt", "clojure", "markdown" },
},
},
}
|