|
6 | 6 | vim.opt.rtp:prepend(lazypath) |
7 | 7 |
|
8 | 8 | require("lazy").setup({ |
9 | | - -- Plugin for everforest colorscheme. |
10 | | - 'OurCodeBase/everforest-nvim', |
11 | | - -- Plugin for lualine for ui. |
12 | | - 'nvim-lualine/lualine.nvim', |
13 | | - -- Plugin for auto pairs. |
14 | | - { |
15 | | - 'windwp/nvim-autopairs', event = "InsertEnter", |
| 9 | + -- core plugins. |
| 10 | + 'OurCodeBase/everforest-nvim', -- everforest colors. |
| 11 | + 'nvim-lualine/lualine.nvim', -- lualine statusline. |
| 12 | + { 'windwp/nvim-autopairs', event = "InsertEnter", -- autopairs. |
16 | 13 | config = function() |
17 | 14 | require("nvim-autopairs").setup {} |
18 | 15 | end |
19 | 16 | }, |
20 | | - -- Plugin for nvim-completion. |
21 | | - { 'hrsh7th/nvim-cmp', event = "InsertEnter" }, |
22 | | - -- Plugin for buffer completion. |
23 | | - { 'hrsh7th/cmp-buffer', event = "InsertEnter" }, |
24 | | - -- Plugin for path completion. |
25 | | - { 'hrsh7th/cmp-path', event = "InsertEnter" }, |
26 | | - -- Plugin for cmdline completion. |
27 | | - { 'hrsh7th/cmp-cmdline', event = "VeryLazy" }, |
28 | | - -- Plugin for snippets. |
29 | | - { 'L3MON4D3/LuaSnip', event = "VeryLazy" }, |
30 | | - { 'saadparwaiz1/cmp_luasnip', event = "VeryLazy" }, |
31 | | - -- Plugin for snippet collection. |
32 | | - 'OurCodeBase/friendly-snippets', |
| 17 | + -- completion. |
| 18 | + { 'hrsh7th/nvim-cmp', event = "InsertEnter" }, -- the completion engine. |
| 19 | + { 'hrsh7th/cmp-buffer', event = "InsertEnter" }, -- buffer completion. |
| 20 | + { 'hrsh7th/cmp-path', event = "InsertEnter" }, -- path completion. |
| 21 | + { 'hrsh7th/cmp-cmdline', event = "VeryLazy" }, -- cmdline completion. |
| 22 | + -- snippets. |
| 23 | + { 'L3MON4D3/LuaSnip', event = "VeryLazy" }, -- snippet engine. |
| 24 | + { 'saadparwaiz1/cmp_luasnip', event = "VeryLazy" }, -- snippet connector. |
| 25 | + 'OurCodeBase/friendly-snippets', -- snippet collection. |
33 | 26 | }) |
34 | 27 |
|
0 commit comments