onsails / lspkind.nvim

vscode-like pictograms for neovim lsp completion items
MIT License
1.51k stars 39 forks source link

Deprecated Error #43

Closed EzxD closed 2 years ago

EzxD commented 2 years ago

Hey I get the following error. I tried a lot already but I can't fix it maybe someone has an idea?

used_by is deprecated, please use 'filetype_to_parsername'
Fehler beim Ausführen von "/Users/user/.config/nvim/after/plugin/lspkind.rc.lua":
E5113: Error while calling lua chunk: ...cal/share/nvim/plugged/lspkind-nvim/lua/lspkind/init.lua:123: Vim(echoerr):DEPRECATED replaced by mode option.
stack traceback:
        [C]: in function 'nvim_command'
        ...cal/share/nvim/plugged/lspkind-nvim/lua/lspkind/init.lua:123: in function 'init'
        /Users/user/.config/nvim/after/plugin/lspkind.rc.lua:4: in main chunk

I use these dot files: https://github.com/craftzdog/dotfiles-public

Thanks in advanced

onsails commented 2 years ago

Remove with_text, it's deprecated and you are setting it to default value anyway.

EzxD commented 2 years ago

thanks

baco commented 2 years ago

@onsails And how do I turn the text off now? What's the new name for the option?

baco commented 2 years ago

Found it:

mode = "symbol"