micangl / cmp-vimtex

Vimtex source for nvim-cmp.
MIT License
78 stars 5 forks source link

README instructions not working for me? #7

Closed jwbullard closed 9 months ago

jwbullard commented 9 months ago

Using neovim v0.9.4 on Mac OS Sonoma 14.1.1 with nvim-cmp for autompletion, but when I tried to include cmp-vimtex using your README instructions, none of the functionality seems to be working for LaTeX files. Here is my nvim-cmp.lua file:

Screenshot 2023-11-30 at 5 15 00 PM

And my plugins setup file (uses packer for plugin management):

Screenshot 2023-11-30 at 5 16 31 PM

This isn't exactly a bug, it's more likely that I'm missing something in the configuration, but I'll be grateful for any help you might be able to provide!

micangl commented 9 months ago

Thanks for raising the issue. I'm thinking that lspkind may be interfering with the display of the provided information. What happens if you try to disable it (just commenting out the format function should be sufficient)?

jwbullard commented 9 months ago

That was absolutely the issue! Thanks so much. In fact I don't even seem to need lspkind so I just removed that block. Thanks again for being so responsive!

micangl commented 9 months ago

@jwbullard I've opened a pull request to fix the issue directly in lspkind-nvim. If it's accepted you'll be able to keep using it and, when I'll find some time, I'll add a warning to the README.md, with a possible manual configuration too.

micangl commented 8 months ago

@jwbullard The pull request I mentioned has been merged into master. This means that you should be able to use lspkind.nvim again, if you want to.

jwbullard commented 8 months ago

Thanks for following up!