Closed uolot closed 2 years ago
I can confirm now that the latest commit is the culprit here. After pinning to the previous commit with
Plug 'projekt0n/github-nvim-theme', { 'commit': '715c554' }
the error message doesn't show up anymore.
neovim nightly needed for nvim_create_augroup
to work. So either pinning to previous commit or install neovim nightly to solve the issue
Hey @sabitm thanks for your response. I see you're not a maintainer of this project, so I'd rather wait for a comment from the contributors before migrating to an unstable version of Neovim.
That aside, I have a question to the actual maintainers - @ful1e5 seems to be the main contributor these days and the author of the commit we're discussing. Would you accept a PR with a workaround? My understanding is that all we need is a conditional check for the version of Neovim we're running and then setting the autogroups the old way for line 0.6.x and the new way for 0.7.x, is that correct? If yes, I'm more than happy to contribute.
I reverted 79467077ddcdfb35aff0d03985bdb0c33038d13e from upstream temporarily because It's causing more errors. Hopefully in the future, I will manage to add version checking inside util.autocmds
function as @uolot mention. Until then, I leave this issue open.
PRs are welcome.
After updating the plugin minutes ago, I'm now getting the following error:
I'm using Plug.vim for managing my plugins, and it pulled the following commits:
My neovim details: