nvim: remove stupid plugin load event things
This commit is contained in:
@ -8,7 +8,6 @@ require("packer").startup(function()
|
||||
-- lspconfig
|
||||
use({
|
||||
"neovim/nvim-lspconfig",
|
||||
event = "BufEnter",
|
||||
config = function()
|
||||
require("plugins.lsp")
|
||||
end,
|
||||
@ -17,7 +16,6 @@ require("packer").startup(function()
|
||||
-- nvim lint
|
||||
use({
|
||||
"mfussenegger/nvim-lint",
|
||||
event = "BufWrite",
|
||||
config = function()
|
||||
require("plugins.lint")
|
||||
end,
|
||||
@ -26,7 +24,6 @@ require("packer").startup(function()
|
||||
-- cmp
|
||||
use({
|
||||
"hrsh7th/nvim-cmp",
|
||||
event = "InsertEnter",
|
||||
config = function()
|
||||
require("plugins.cmp")
|
||||
end,
|
||||
@ -63,7 +60,6 @@ require("packer").startup(function()
|
||||
-- treesitter
|
||||
use({
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
event = "BufEnter",
|
||||
config = function()
|
||||
require("plugins.treesitter")
|
||||
end,
|
||||
@ -90,7 +86,6 @@ require("packer").startup(function()
|
||||
-- comment.nvim
|
||||
use({
|
||||
"numToStr/Comment.nvim",
|
||||
event = "BufRead",
|
||||
config = function()
|
||||
require("plugins.comment")
|
||||
end,
|
||||
@ -108,7 +103,6 @@ require("packer").startup(function()
|
||||
-- telescope
|
||||
use({
|
||||
"nvim-telescope/telescope.nvim",
|
||||
cmd = "Telescope",
|
||||
requires = { "nvim-lua/plenary.nvim" },
|
||||
config = function()
|
||||
require("plugins.telescope")
|
||||
|
||||
Reference in New Issue
Block a user