遅延の整理

This commit is contained in:
Rikuoh Tsujitani 2024-09-27 14:52:32 +09:00
parent 3a31df45e5
commit 04ddc388bf
Signed by: riq0h
GPG key ID: 010F09DEA298C717

View file

@ -159,19 +159,19 @@ end
vim.opt.rtp:prepend(lazypath) vim.opt.rtp:prepend(lazypath)
require("lazy").setup({ require("lazy").setup({
defaults = { lazy = true }, defaults = { lazy = true },
{ "nvim-lualine/lualine.nvim", event = "VeryLazy" }, { "nvim-lualine/lualine.nvim", event = "UIEnter" },
{ "nvim-telescope/telescope.nvim", cmd = "Telescope" }, { "nvim-telescope/telescope.nvim", cmd = "Telescope" },
{ {
"nvim-telescope/telescope-fzf-native.nvim", "nvim-telescope/telescope-fzf-native.nvim",
build = "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build", build = "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build",
cmd = "Telescope", cmd = "Telescope",
}, },
{ "nvim-telescope/telescope-file-browser.nvim", event = "VeryLazy" }, { "nvim-telescope/telescope-file-browser.nvim", cmd = "Telescope file_browser" },
{ "lewis6991/gitsigns.nvim", config = true, event = "VeryLazy" }, { "lewis6991/gitsigns.nvim", config = true, event = "BufReadPre" },
{ "ryanoasis/vim-devicons", event = "VeryLazy" }, { "ryanoasis/vim-devicons", event = "UIEnter" },
{ "nvim-tree/nvim-web-devicons", event = "VeryLazy" }, { "nvim-tree/nvim-web-devicons", event = "UIEnter" },
{ "williamboman/mason.nvim", event = "BufRead", cmd = { "Mason", "MasonInstall" } }, { "williamboman/mason.nvim", event = "BufRead", cmd = { "Mason", "MasonInstall" } },
{ "williamboman/mason-lspconfig.nvim", event = "LspAttach" }, { "williamboman/mason-lspconfig.nvim", event = "BufReadPre" },
{ "jay-babu/mason-null-ls.nvim", event = "LspAttach" }, { "jay-babu/mason-null-ls.nvim", event = "LspAttach" },
{ "jay-babu/mason-nvim-dap.nvim", event = "LspAttach" }, { "jay-babu/mason-nvim-dap.nvim", event = "LspAttach" },
{ "neovim/nvim-lspconfig", event = "BufReadPre" }, { "neovim/nvim-lspconfig", event = "BufReadPre" },
@ -202,20 +202,20 @@ require("lazy").setup({
{ "hrsh7th/vim-vsnip", event = "InsertEnter" }, { "hrsh7th/vim-vsnip", event = "InsertEnter" },
{ "hrsh7th/vim-vsnip-integ", event = "InsertEnter" }, { "hrsh7th/vim-vsnip-integ", event = "InsertEnter" },
{ "rafamadriz/friendly-snippets", event = "InsertEnter" }, { "rafamadriz/friendly-snippets", event = "InsertEnter" },
{ "nvim-treesitter/nvim-treesitter", event = "VeryLazy" }, { "nvim-treesitter/nvim-treesitter", event = { "BufReadPost", "BufNewFile" } },
{ "nvim-treesitter/nvim-treesitter-refactor", event = "VeryLazy" }, { "nvim-treesitter/nvim-treesitter-refactor", event = "BufRead" },
{ "yioneko/nvim-yati", event = "VeryLazy" }, { "yioneko/nvim-yati", event = "BufRead" },
{ "windwp/nvim-autopairs", config = true, event = "InsertEnter" }, { "windwp/nvim-autopairs", config = true, event = "InsertEnter" },
{ "windwp/nvim-ts-autotag", config = true, event = "InsertEnter" }, { "windwp/nvim-ts-autotag", config = true, event = "InsertEnter" },
{ "HiPhish/rainbow-delimiters.nvim", event = "VeryLazy" }, { "HiPhish/rainbow-delimiters.nvim", event = "VeryLazy" },
{ "andymass/vim-matchup", event = "VeryLazy" }, { "andymass/vim-matchup", event = "BufRead" },
{ "lambdalisue/suda.vim", cmd = { "SudaWrite", "SudaRead" } }, { "lambdalisue/suda.vim", cmd = { "SudaWrite", "SudaRead" } },
{ "jghauser/mkdir.nvim", event = "ModeChanged" }, { "jghauser/mkdir.nvim", event = "ModeChanged" },
{ "shellRaining/hlchunk.nvim", config = true, event = "UIEnter" }, { "shellRaining/hlchunk.nvim", config = true, event = "BufReadPost" },
{ "kevinhwang91/nvim-hlslens", event = "VeryLazy" }, { "kevinhwang91/nvim-hlslens", event = "VeryLazy" },
{ "akinsho/git-conflict.nvim", version = "*", config = true }, { "akinsho/git-conflict.nvim", version = "*", config = true, cmd = "GitConflictListQf" },
{ "numToStr/Comment.nvim", config = true, event = "VeryLazy" }, { "numToStr/Comment.nvim", config = true, event = "VeryLazy" },
{ "rhysd/clever-f.vim", event = "VeryLazy" }, { "rhysd/clever-f.vim", keys = { "f", "F", "t", "T" } },
{ "echasnovski/mini.surround", event = "ModeChanged" }, { "echasnovski/mini.surround", event = "ModeChanged" },
{ "echasnovski/mini.ai", event = "ModeChanged" }, { "echasnovski/mini.ai", event = "ModeChanged" },
{ "mvllow/modes.nvim", event = "VeryLazy" }, { "mvllow/modes.nvim", event = "VeryLazy" },