mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-19 18:24:34 +02:00
enc: add new lspkind icons
This commit is contained in:
parent
4baa37dec7
commit
be2518be72
3 changed files with 53 additions and 6 deletions
|
@ -89,7 +89,7 @@ return {
|
|||
fields = { "kind", "abbr", "menu" },
|
||||
format = function(entry, vim_item)
|
||||
vim_item.menu = vim.api.nvim_get_mode().mode == "c" and "" or all_trim(vim_item.kind)
|
||||
vim_item.kind = string.format("%s", all_trim(require("pcode.user.icons")["kind"][vim_item.kind]))
|
||||
vim_item.kind = string.format("%s", all_trim(require("pcode.user.icons")["kind2"][vim_item.kind]))
|
||||
-- vim_item.menu = ({
|
||||
-- nvim_lsp = "(LSP)",
|
||||
-- luasnip = "(Snippet)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue