chg: Properly lazyload nvim-cmp related plugins
This commit is contained in:
parent
810e9ce16c
commit
2fedf661e7
3 changed files with 31 additions and 16 deletions
|
@ -28,12 +28,17 @@ require("lazy").setup({
|
||||||
-- LSP related plugins
|
-- LSP related plugins
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"hrsh7th/nvim-cmp", -- For LSP completion
|
{
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/nvim-cmp", -- For LSP completion
|
||||||
"hrsh7th/cmp-buffer",
|
event = "InsertEnter",
|
||||||
"hrsh7th/cmp-omni", -- For LaTeX completion
|
dependencies = {
|
||||||
"hrsh7th/cmp-path",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
"hrsh7th/cmp-cmdline",
|
"hrsh7th/cmp-buffer",
|
||||||
|
"hrsh7th/cmp-omni", -- For LaTeX completion
|
||||||
|
"hrsh7th/cmp-path",
|
||||||
|
"hrsh7th/cmp-cmdline",
|
||||||
|
}
|
||||||
|
},
|
||||||
"SirVer/ultisnips", -- For snippets
|
"SirVer/ultisnips", -- For snippets
|
||||||
-- Support programming terms
|
-- Support programming terms
|
||||||
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
|
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
|
||||||
|
|
|
@ -25,11 +25,16 @@ require("lazy").setup({
|
||||||
"sitiom/nvim-numbertoggle",
|
"sitiom/nvim-numbertoggle",
|
||||||
-- LSP related plugins
|
-- LSP related plugins
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
"hrsh7th/nvim-cmp", -- For LSP completion
|
{
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/nvim-cmp", -- For LSP completion
|
||||||
"hrsh7th/cmp-cmdline",
|
event = "InsertEnter",
|
||||||
"hrsh7th/cmp-buffer",
|
dependencies = {
|
||||||
"hrsh7th/cmp-path",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
|
"hrsh7th/cmp-cmdline",
|
||||||
|
"hrsh7th/cmp-buffer",
|
||||||
|
"hrsh7th/cmp-path",
|
||||||
|
}
|
||||||
|
},
|
||||||
-- Support programming terms
|
-- Support programming terms
|
||||||
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
|
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
|
||||||
-- vim-moonfly theme
|
-- vim-moonfly theme
|
||||||
|
|
|
@ -25,11 +25,16 @@ require("lazy").setup({
|
||||||
"sitiom/nvim-numbertoggle",
|
"sitiom/nvim-numbertoggle",
|
||||||
-- LSP related plugins
|
-- LSP related plugins
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
"hrsh7th/nvim-cmp", -- For LSP completion
|
{
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/nvim-cmp", -- For LSP completion
|
||||||
"hrsh7th/cmp-buffer",
|
event = "InsertLeave",
|
||||||
"hrsh7th/cmp-path",
|
dependencies = {
|
||||||
"hrsh7th/cmp-cmdline",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
|
"hrsh7th/cmp-buffer",
|
||||||
|
"hrsh7th/cmp-path",
|
||||||
|
"hrsh7th/cmp-cmdline",
|
||||||
|
}
|
||||||
|
},
|
||||||
-- Support programming terms
|
-- Support programming terms
|
||||||
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
|
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
|
||||||
-- vim-moonfly theme
|
-- vim-moonfly theme
|
||||||
|
|
Loading…
Reference in a new issue