Installed lsp-kind and tailwind-tools
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
return {
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {
|
||||
"onsails/lspkind-nvim",
|
||||
},
|
||||
config = function()
|
||||
local cmp = require("cmp")
|
||||
|
||||
@@ -42,6 +45,21 @@ return {
|
||||
{ name = "cmdline" }
|
||||
})
|
||||
})
|
||||
|
||||
local lspkind = require("lspkind")
|
||||
cmp.setup({
|
||||
formatting = {
|
||||
format = lspkind.cmp_format({
|
||||
mode = "symbol",
|
||||
maxwidth = {
|
||||
menu = 50,
|
||||
abbr = 50,
|
||||
},
|
||||
ellipsis_char = "...",
|
||||
show_labelDetails = true,
|
||||
})
|
||||
}
|
||||
})
|
||||
end
|
||||
},
|
||||
{ "hrsh7th/cmp-nvim-lsp" },
|
||||
|
||||
Reference in New Issue
Block a user