add: reconfig

This commit is contained in:
asep.komarudin 2024-05-19 08:46:33 +07:00
parent 3af64d720d
commit 1d2a590c80
66 changed files with 1547 additions and 5121 deletions

View file

@ -17,52 +17,6 @@ return {
require("user.lualine_cfg")
end,
},
-- for show icon
{
"kyazdani42/nvim-web-devicons",
lazy = true,
dependencies = { "pojokcodeid/nvim-material-icon" },
config = function()
require("user.webdevicons")
end,
},
-- for tree exploler
{
"kyazdani42/nvim-tree.lua",
lazy = true,
cmd = { "NvimTree", "NvimTreeOpen", "NvimTreeToggle", "NvimTreeFocus", "NvimTreeClose" },
config = function()
local data_exists, treeconfig = pcall(require, "core.config")
if data_exists then
if treeconfig.loadnvimtree_lazy then
require("user.nvim-tree")
end
end
end,
},
-- for file tab
{
"famiu/bufdelete.nvim",
lazy = true,
},
{
"akinsho/bufferline.nvim",
lazy = true,
branch = "main",
event = { "BufRead", "InsertEnter", "BufNewFile" },
config = function()
require("user.bufferline")
end,
},
-- for view terminal
{
"akinsho/toggleterm.nvim",
lazy = true,
cmd = { "ToggleTerm" },
config = function()
require("user.toggleterm")
end,
},
-- key mapping
{
"folke/which-key.nvim",
@ -73,21 +27,4 @@ return {
require("user.whichkey")
end,
},
-- for search
{
"nvim-telescope/telescope.nvim",
lazy = true,
cmd = "Telescope",
version = false, -- telescope did only one release, so use HEAD for now
config = function()
require("user.telescope")
end,
},
{
"karb94/neoscroll.nvim",
lazy = true,
config = function()
require("user.neoscroll")
end,
},
}