Added luasnip snippets, enabled completion, go, org, rust, all snippets
- url for vim snippets is: https://github.com/honza/vim-snippets
This commit is contained in:
@@ -23,10 +23,11 @@ require("lazy").setup({
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {
|
||||
"lspkind.nvim",
|
||||
"hrsh7th/cmp-nvim-lsp", -- lsp auto-completion
|
||||
"hrsh7th/cmp-buffer", -- buffer auto-completion
|
||||
"hrsh7th/cmp-path", -- path auto-completion
|
||||
"hrsh7th/cmp-cmdline", -- cmdline auto-completion
|
||||
"hrsh7th/cmp-nvim-lsp", -- lsp auto-completion
|
||||
"hrsh7th/cmp-buffer", -- buffer auto-completion
|
||||
"hrsh7th/cmp-path", -- path auto-completion
|
||||
"hrsh7th/cmp-cmdline", -- cmdline auto-completion
|
||||
"saadparwaiz1/cmp_luasnip", -- luasnip auto-completion
|
||||
},
|
||||
config = function()
|
||||
require("config.nvim-cmp")
|
||||
@@ -37,6 +38,9 @@ require("lazy").setup({
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
version = "v2.*",
|
||||
config = function()
|
||||
require("luasnip.loaders.from_snipmate").lazy_load()
|
||||
end,
|
||||
},
|
||||
|
||||
-- LSP manager
|
||||
|
||||
Reference in New Issue
Block a user