nvim-reload icon indicating copy to clipboard operation
nvim-reload copied to clipboard

Error calling Reload/Reset with vim-polyglot

Open knpwrs opened this issue 3 years ago • 1 comments

When I have vim-polyglot installed via packer:

use 'sheerun/vim-polyglot'

And I attempt to run either Restart or Reload, I get the following error:

Error detected while processing BufWritePost Autocommands for "init.lua":
E5108: Error executing lua ...e/pack/packer/start/nvim-reload/lua/nvim-reload/init.lua:130: Vim:E492: Not an editor command: HaxeHiLink haxeError2 haxeError

When I remove vim-polyglot from my configuration everything works fine. Is there a way to work around this? Maybe excluding vim-polyglot from reloading?

knpwrs avatar Jul 06 '21 16:07 knpwrs

If I were to guess it's choking somewhere around here: https://github.com/sheerun/vim-polyglot/search?q=haxehilink

knpwrs avatar Jul 06 '21 16:07 knpwrs