need help for configuring nvim-cmp #1736
Replies: 1 comment 1 reply
-
I think you just misspelled config = function()
local cmp = require("cmp")
local luasnip = require("luasnip")
- local lspkinf = require("lspkind")
+ local lspkind = require("lspkind") |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to make transition from packer to lazy every thing worked fine in packer without a problem but when i'm trying to configure in lazy the issue rises as failed to run config for nvim-cmp
`return {
"hrsh7th/nvim-cmp",
event = "InsertEnter",
dependencies = {
"hrsh7th/cmp-buffer", -- Source for text in buffer
"hrsh7th/cmp-path", -- Source for file system path
"L3MON4D3/LuaSnip", -- Snippet Engine
"saadparwaiz1/cmp_luasnip", -- Snippet Engine
"rafamadriz/friendly-snippets", -- Useful Snippets
"onsails/lspkind.nvim", -- VS Code Like pictograms
},
config = function()
local cmp = require("cmp")
local luasnip = require("luasnip")
local lspkinf = require("lspkind")
end,
}
`
How do I fix this.
Beta Was this translation helpful? Give feedback.
All reactions