|
@@ -8,11 +8,8 @@ return {
|
|
"kabouzeid/nvim-lspinstall",
|
|
"kabouzeid/nvim-lspinstall",
|
|
event = "VimEnter",
|
|
event = "VimEnter",
|
|
config = function()
|
|
config = function()
|
|
- local lspinstall = require "lspinstall"
|
|
|
|
|
|
+ local lspinstall = require "core.lspinstall"
|
|
lspinstall.setup()
|
|
lspinstall.setup()
|
|
- if lvim.builtin.lspinstall.on_config_done then
|
|
|
|
- lvim.builtin.lspinstall.on_config_done(lspinstall)
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
},
|
|
},
|
|
|
|
|
|
@@ -23,9 +20,6 @@ return {
|
|
"nvim-telescope/telescope.nvim",
|
|
"nvim-telescope/telescope.nvim",
|
|
config = function()
|
|
config = function()
|
|
require("core.telescope").setup()
|
|
require("core.telescope").setup()
|
|
- if lvim.builtin.telescope.on_config_done then
|
|
|
|
- lvim.builtin.telescope.on_config_done(require "telescope")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.telescope.active,
|
|
disable = not lvim.builtin.telescope.active,
|
|
},
|
|
},
|
|
@@ -36,9 +30,6 @@ return {
|
|
event = "InsertEnter",
|
|
event = "InsertEnter",
|
|
config = function()
|
|
config = function()
|
|
require("core.compe").setup()
|
|
require("core.compe").setup()
|
|
- if lvim.builtin.compe.on_config_done then
|
|
|
|
- lvim.builtin.compe.on_config_done(require "compe")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.compe.active,
|
|
disable = not lvim.builtin.compe.active,
|
|
-- wants = "vim-vsnip",
|
|
-- wants = "vim-vsnip",
|
|
@@ -73,9 +64,6 @@ return {
|
|
after = "nvim-compe",
|
|
after = "nvim-compe",
|
|
config = function()
|
|
config = function()
|
|
require("core.autopairs").setup()
|
|
require("core.autopairs").setup()
|
|
- if lvim.builtin.autopairs.on_config_done then
|
|
|
|
- lvim.builtin.autopairs.on_config_done(require "nvim-autopairs")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.autopairs.active or not lvim.builtin.compe.active,
|
|
disable = not lvim.builtin.autopairs.active or not lvim.builtin.compe.active,
|
|
},
|
|
},
|
|
@@ -87,9 +75,6 @@ return {
|
|
-- run = ":TSUpdate",
|
|
-- run = ":TSUpdate",
|
|
config = function()
|
|
config = function()
|
|
require("core.treesitter").setup()
|
|
require("core.treesitter").setup()
|
|
- if lvim.builtin.treesitter.on_config_done then
|
|
|
|
- lvim.builtin.treesitter.on_config_done(require "nvim-treesitter.configs")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
},
|
|
},
|
|
|
|
|
|
@@ -101,9 +86,6 @@ return {
|
|
-- commit = "fd7f60e242205ea9efc9649101c81a07d5f458bb",
|
|
-- commit = "fd7f60e242205ea9efc9649101c81a07d5f458bb",
|
|
config = function()
|
|
config = function()
|
|
require("core.nvimtree").setup()
|
|
require("core.nvimtree").setup()
|
|
- if lvim.builtin.nvimtree.on_config_done then
|
|
|
|
- lvim.builtin.nvimtree.on_config_done(require "nvim-tree.config")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.nvimtree.active,
|
|
disable = not lvim.builtin.nvimtree.active,
|
|
},
|
|
},
|
|
@@ -113,9 +95,6 @@ return {
|
|
|
|
|
|
config = function()
|
|
config = function()
|
|
require("core.gitsigns").setup()
|
|
require("core.gitsigns").setup()
|
|
- if lvim.builtin.gitsigns.on_config_done then
|
|
|
|
- lvim.builtin.gitsigns.on_config_done(require "gitsigns")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
event = "BufRead",
|
|
event = "BufRead",
|
|
disable = not lvim.builtin.gitsigns.active,
|
|
disable = not lvim.builtin.gitsigns.active,
|
|
@@ -126,9 +105,6 @@ return {
|
|
"folke/which-key.nvim",
|
|
"folke/which-key.nvim",
|
|
config = function()
|
|
config = function()
|
|
require("core.which-key").setup()
|
|
require("core.which-key").setup()
|
|
- if lvim.builtin.which_key.on_config_done then
|
|
|
|
- lvim.builtin.which_key.on_config_done(require "which-key")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
event = "BufWinEnter",
|
|
event = "BufWinEnter",
|
|
disable = not lvim.builtin.which_key.active,
|
|
disable = not lvim.builtin.which_key.active,
|
|
@@ -140,9 +116,6 @@ return {
|
|
event = "BufRead",
|
|
event = "BufRead",
|
|
config = function()
|
|
config = function()
|
|
require("nvim_comment").setup()
|
|
require("nvim_comment").setup()
|
|
- if lvim.builtin.comment.on_config_done then
|
|
|
|
- lvim.builtin.comment.on_config_done(require "nvim_comment")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.comment.active,
|
|
disable = not lvim.builtin.comment.active,
|
|
},
|
|
},
|
|
@@ -152,9 +125,6 @@ return {
|
|
"ahmedkhalf/project.nvim",
|
|
"ahmedkhalf/project.nvim",
|
|
config = function()
|
|
config = function()
|
|
require("core.project").setup()
|
|
require("core.project").setup()
|
|
- if lvim.builtin.project.on_config_done then
|
|
|
|
- lvim.builtin.project.on_config_done()
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.project.active,
|
|
disable = not lvim.builtin.project.active,
|
|
},
|
|
},
|
|
@@ -177,9 +147,6 @@ return {
|
|
"romgrk/barbar.nvim",
|
|
"romgrk/barbar.nvim",
|
|
config = function()
|
|
config = function()
|
|
require("core.bufferline").setup()
|
|
require("core.bufferline").setup()
|
|
- if lvim.builtin.bufferline.on_config_done then
|
|
|
|
- lvim.builtin.bufferline.on_config_done()
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
event = "BufWinEnter",
|
|
event = "BufWinEnter",
|
|
disable = not lvim.builtin.bufferline.active,
|
|
disable = not lvim.builtin.bufferline.active,
|
|
@@ -191,9 +158,6 @@ return {
|
|
-- event = "BufWinEnter",
|
|
-- event = "BufWinEnter",
|
|
config = function()
|
|
config = function()
|
|
require("core.dap").setup()
|
|
require("core.dap").setup()
|
|
- if lvim.builtin.dap.on_config_done then
|
|
|
|
- lvim.builtin.dap.on_config_done(require "dap")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.dap.active,
|
|
disable = not lvim.builtin.dap.active,
|
|
},
|
|
},
|
|
@@ -212,9 +176,6 @@ return {
|
|
event = "BufWinEnter",
|
|
event = "BufWinEnter",
|
|
config = function()
|
|
config = function()
|
|
require("core.dashboard").setup()
|
|
require("core.dashboard").setup()
|
|
- if lvim.builtin.dashboard.on_config_done then
|
|
|
|
- lvim.builtin.dashboard.on_config_done(require "dashboard")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.dashboard.active,
|
|
disable = not lvim.builtin.dashboard.active,
|
|
},
|
|
},
|
|
@@ -225,9 +186,6 @@ return {
|
|
event = "BufWinEnter",
|
|
event = "BufWinEnter",
|
|
config = function()
|
|
config = function()
|
|
require("core.terminal").setup()
|
|
require("core.terminal").setup()
|
|
- if lvim.builtin.terminal.on_config_done then
|
|
|
|
- lvim.builtin.terminal.on_config_done(require "toggleterm")
|
|
|
|
- end
|
|
|
|
end,
|
|
end,
|
|
disable = not lvim.builtin.terminal.active,
|
|
disable = not lvim.builtin.terminal.active,
|
|
},
|
|
},
|