onsails/lspkind.nvim

Deprecated Error

EzxD opened this issue · 4 comments

EzxD commented

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

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

EzxD commented

thanks

baco commented

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

baco commented

Found it:

mode = "symbol"