We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using very basic configuration and don't have a separate lsp-kind configuration
{ "VonHeikemen/lsp-zero.nvim", branch = "v2.x", dependencies = { {"neovim/nvim-lspconfig"}, {"williamboman/mason.nvim"}, {"williamboman/mason-lspconfig.nvim"}, {"hrsh7th/nvim-cmp"}, {"hrsh7th/cmp-nvim-lsp"}, {"L3MON4D3/LuaSnip"}, {"onsails/lspkind.nvim"} }, config = function() local lsp = require('lsp-zero').preset({}) lsp.on_attach(function(client, bufnr) lsp.default_keymaps({buffer = bufnr}) end) require('lspconfig').pyright.setup({ settings = { python = { analysis = { typeCheckingMode = "off" } } } }) lsp.ensure_installed({ "lua_ls", "pyright", "rust_analyzer" }) require('lspconfig').lua_ls.setup(lsp.nvim_lua_ls()) lsp.setup() local cmp = require("cmp") cmp.setup({ formatting = { fields = {'abbr', 'kind'}, format = require('lspkind').cmp_format({ mode = 'symbol', maxwidth = 50, ellipsis_char = '...', }) }, mapping = { ['<CR>'] = cmp.mapping.confirm({select = false}), } }) end },
The text was updated successfully, but these errors were encountered:
Try adding 'menu' to the fields option.
'menu'
fields
fields = {'abbr', 'kind', 'menu'},
Sorry, something went wrong.
Can i use it without menu?
Menu should not show up because you have mode symbol in lsp-kind.
symbol
No branches or pull requests
I'm using very basic configuration and don't have a separate lsp-kind configuration
The text was updated successfully, but these errors were encountered: