Theory-of-Everything / nii-nvim

A minimal neovim configuration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ISSUE]: :PackerSync broke neovim

iambeingtracked opened this issue · comments

Today i decided to do :PackerSync after which i got an error:Error detected while processing /home/user/.config/nvim/init.lua: E5113: Error while calling lua chunk: ...site/pack/packer/start/lspkind-nvim/lua/lspkind/init.lua:123: Vim(echoerr):DEPRECATED replaced by mode option. stack traceback: [C]: in function 'nvim_command' ...site/pack/packer/start/lspkind-nvim/lua/lspkind/init.lua:123: in function 'init' /home/user/.config/nvim/lua/config/plug/lspkind.lua:1: in main chunk [C]: in function 'require' /home/user/.config/nvim/lua/config/plug/init.lua:9: in main chunk [C]: in function 'require' /home/user/.config/nvim/init.lua:34: in main chunk

Troubleshooting Tasks Attempted:

  • [-] Have you attempted to fix the error/traceback?
  • [there's no dev branch anymore] Have you made sure the issue exists in the dev branch?
  • [+] Does this issue occur on a clean clone of nii-nvim?

Issue Description

It happens everytime i try to start nvim.
To reproduce, simply install nii-nvim from the master branch. Also what i think caused it is after i did the update i've noticed it typed 'potentially breaking changes'.

Software Information

  • Wezterm, newest
  • newest
  • newest

Your Code

If relevant, paste all of your code in here otherwise 

Screenshot

(if applicable)

What is the full error message/traceback?

If it does have to do with nvim-treesitter, recently the made quite a bit of breaking changes, and a simple fix is to replace the current treesitter configuration (in lua/config/plug/treesitter.lua) with the default config from treesitter's repository. I will push changes today to fix it, as I just discovered about that today.

Sorry, for some reason my error message wasn't shown there, probably formatting problems. I edited it, so you can see what's wrong.

This was after using :PackerSync to update everything? I am not currently aware of this issue, so I look into it when I have time

-------- Original Message --------
On Feb 7, 2022, 12:00 AM, iambeingtracked wrote: Sorry, for some reason my error message wasn't shown there, probably formatting problems. I edited it, so you can see what's wrong. — Reply to this email directly, [view it on GitHub](#27 (comment)), or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Yes, it happened after :PackerSync and then it happened on a clean clone of nii-nvim

checked the new commits now it all works fine no errors. Closing the issue.