增加插件

This commit is contained in:
newbieQQ 2023-05-09 20:06:48 +08:00
parent c73156d67b
commit 4f88e82366

View File

@ -17,50 +17,50 @@ G.opt.rtp:prepend(lazypath)
-- Example using a list of specs with the default options -- Example using a list of specs with the default options
require("lazy").setup({ require("lazy").setup({
lockfile = false, lockfile = false,
-- 主题插件 -- 主题插件
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
'morhetz/gruvbox', 'morhetz/gruvbox',
'shaunsingh/nord.nvim', 'shaunsingh/nord.nvim',
'yaocccc/nvim-hlchunk', 'yaocccc/nvim-hlchunk',
-- lsp 补全以及语法高亮 -- lsp 补全以及语法高亮
{'neoclide/coc.nvim', branch = 'release'}, {'neoclide/coc.nvim', branch = 'release'},
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
-- surround 和 wildfire 配合有神奇的效果 -- surround 和 wildfire 配合有神奇的效果
'tpope/vim-surround', 'tpope/vim-surround',
'gcmt/wildfire.vim', 'gcmt/wildfire.vim',
-- 格式整理 -- 格式整理
'junegunn/vim-easy-align', 'junegunn/vim-easy-align',
'tpope/vim-commentary', 'tpope/vim-commentary',
--颜色识别 --颜色识别
'lilydjwg/colorizer', 'lilydjwg/colorizer',
--markdown --markdown
{ {
'iamcco/markdown-preview.nvim', 'iamcco/markdown-preview.nvim',
ft = { ft = {
'markdown', 'markdown',
} }
}, },
-- 文件搜索 -- 文件搜索
'junegunn/fzf', 'junegunn/fzf',
-- 多光标 -- 多光标
'terryma/vim-multiple-cursors', 'terryma/vim-multiple-cursors',
-- github copilot -- github copilot
'github/copilot.vim', 'github/copilot.vim',
-- fzf -- fzf
'vijaymarupudi/nvim-fzf', 'vijaymarupudi/nvim-fzf',
-- nerdtree -- nerdtree
{ {
'preservim/nerdtree', 'preservim/nerdtree',
dependencies = { dependencies = {
@ -71,7 +71,12 @@ require("lazy").setup({
}, },
-- 项目管理 -- 项目管理
-- 'Shatur/neovim-session-manager' {
'Shatur/neovim-session-manager',
dependencies = {
'nvim-lua/plenary.nvim'
}
}
}) })