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' + } + } })