From 4f88e82366df186b45df372bcfc10ea40b3dc462 Mon Sep 17 00:00:00 2001 From: newbieQQ <1770362456@qq.com> Date: Tue, 9 May 2023 20:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/core/plug.lua | 73 +++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 34 deletions(-) diff --git a/lua/core/plug.lua b/lua/core/plug.lua index ebdffe5..bf2de22 100644 --- a/lua/core/plug.lua +++ b/lua/core/plug.lua @@ -17,50 +17,50 @@ G.opt.rtp:prepend(lazypath) -- Example using a list of specs with the default options require("lazy").setup({ - lockfile = false, +lockfile = false, - -- 主题插件 - 'nvim-lualine/lualine.nvim', - 'morhetz/gruvbox', - 'shaunsingh/nord.nvim', - 'yaocccc/nvim-hlchunk', + -- 主题插件 + 'nvim-lualine/lualine.nvim', + 'morhetz/gruvbox', + 'shaunsingh/nord.nvim', + 'yaocccc/nvim-hlchunk', - -- lsp 补全以及语法高亮 - {'neoclide/coc.nvim', branch = 'release'}, - 'nvim-treesitter/nvim-treesitter', + -- lsp 补全以及语法高亮 + {'neoclide/coc.nvim', branch = 'release'}, + 'nvim-treesitter/nvim-treesitter', - -- surround 和 wildfire 配合有神奇的效果 - 'tpope/vim-surround', - 'gcmt/wildfire.vim', + -- surround 和 wildfire 配合有神奇的效果 + 'tpope/vim-surround', + 'gcmt/wildfire.vim', - -- 格式整理 - 'junegunn/vim-easy-align', - 'tpope/vim-commentary', + -- 格式整理 + 'junegunn/vim-easy-align', + 'tpope/vim-commentary', - --颜色识别 - 'lilydjwg/colorizer', + --颜色识别 + 'lilydjwg/colorizer', - --markdown - { - 'iamcco/markdown-preview.nvim', - ft = { - 'markdown', - } - }, + --markdown + { + 'iamcco/markdown-preview.nvim', + ft = { + 'markdown', + } + }, - -- 文件搜索 - 'junegunn/fzf', + -- 文件搜索 + 'junegunn/fzf', - -- 多光标 - 'terryma/vim-multiple-cursors', + -- 多光标 + 'terryma/vim-multiple-cursors', - -- github copilot - 'github/copilot.vim', + -- github copilot + 'github/copilot.vim', - -- fzf - 'vijaymarupudi/nvim-fzf', + -- fzf + 'vijaymarupudi/nvim-fzf', - -- nerdtree + -- nerdtree { 'preservim/nerdtree', dependencies = { @@ -71,7 +71,12 @@ require("lazy").setup({ }, -- 项目管理 - -- 'Shatur/neovim-session-manager' + { + 'Shatur/neovim-session-manager', + dependencies = { + 'nvim-lua/plenary.nvim' + } + } })