junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
33.89k stars 1.9k forks source link

post-update hook error lua #1207

Closed 0rtz closed 5 months ago

0rtz commented 2 years ago

Hello, can not run post-update hook with the following installation https://github.com/EdenEast/nightfox.nvim/issues/203#issue-1355923330. Trying to call a command which defined as:

command! NightfoxCompile lua require('nightfox').compile()

Can it be a problem that it is mapped to a lua function?

version:

NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by builduser

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"
0rtz commented 2 years ago

Calling :NightfoxCompile explicitly after install from neovim works without error

junegunn commented 5 months ago

Related #1257

Please let me know if you still have the issue with the latest version of vim-plug.