numToStr / Navigator.nvim

:sparkles: Smoothly navigate between neovim and terminal multiplexer(s) :sparkles:
MIT License
391 stars 21 forks source link

chore!: use `nvim_create_{augroup,autocmd}` #9

Closed numToStr closed 2 years ago

numToStr commented 2 years ago

Now that https://github.com/neovim/neovim/pull/14661 is merged we can use lua to create autocommands and autogroups.

syphar commented 2 years ago

@numToStr while I like the improvements with nvim_create_{augroup,autocmd}, this breaks the plugin for users of stable version.

If this was intended I understand, but then the nightly requirement should be in the readme, should it?

numToStr commented 2 years ago

@syphar Sorry for the trouble. If you don't mind changing your config, you can jump to this commit https://github.com/numToStr/Navigator.nvim/commit/6bfcf7da965a03fd1e170aa6870b92b16bf739ee which should work for you. I'll update the readme for now but I also think that 0.7 is coming soon ;)

syphar commented 2 years ago

Yeah, I already switched to the commit before.

I'll update the readme for now

thanks!

but I also think that 0.7 is coming soon ;)

that would be even more awesome, not only because of lua augroups :)

numToStr commented 2 years ago

Just a heads up. I've added a patch 6c50f27 for stable users which should prevent that commit workaround.