Closed akinsho closed 2 years ago
fwiw hl_map code was in detach, this should not have errored by just opening nvim
Thanks for the quick fix @p00f. Yeah, I searched for the offending line in the code base and saw it was in the detach, tbh I'm not sure why it triggered that way for me probably it couldn't be reproduced by just entering th buffer
Hey, guys, I'm trying to install vim-ts-rainbow using Packer but I got this error:
[packer.nvim] [ERROR 23:00:08] async.lua:20: Error in coroutine: .../pack/packer/opt/packer.nvim/lua/packer/plugin_utils.lua:204: Vim(lua):E5108: Err or executing lua ...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:179: Vim(echomsg):E114: Missing quote: "Error in packer_compiled: ...vim /site/pack/packer/opt/packer.nvim/lua/packer/load.lua:147: Vim(packadd):E5113: Error while calling lua chunk: ...er/opt/nvim-treesitter/lua/nvim-tree sitter/highlight.lua:14: attempt to index local 'hlmap' (a nil value) stack traceback: ^I[C]: in function 'cmd' ^I...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:179: in function <...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:175> ^I/Users/jon/.config/nvim/plugin/packer_compiled.lua:334: in function </Users/jon/.config/nvim/plugin/packer_compiled.lua:323> ^I[C]: in function 'require' ^I...m/site/pack/packer/start/nvim-ts-rainbow/lua/rainbow.lua:17: in main chunk ^I[C]: in function 'require' ^I[string ":lua"]:1: in main chunk ^I[C]: in function 'resume'
Is above related to this issue? I'm using nvim 0.8.1
update the plugin
This plugin now errors when used, since the latest nightly version of neovim removed the
hlmap
for treesitter that this plugin depends on. You now get the following error, running this plugin on nightly.reference: https://github.com/neovim/neovim/pull/19931
Steps to reproduce
Just open neovim nightly with this plugin enabled