mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 17:28:50 +02:00
add: reconfig
This commit is contained in:
parent
3af64d720d
commit
1d2a590c80
66 changed files with 1547 additions and 5121 deletions
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue