Shatur / neovim-cmake

CMake integration for Neovim
GNU General Public License v3.0
87 stars 19 forks source link

Breaking change: after 23a63ffd7b709b0f9f407c47523e9bbe322cde37 #44

Closed moeryomenko closed 2 years ago

moeryomenko commented 2 years ago

Bug description On :CMake configure got next error message

Error executing Lua callback: ...pack/packer/start/neovim-cmake/lua/cmake/subcommands.lua:40: attempt to call field 'unpack' (a nil value)                                                                                                                                                     
stack traceback:                                                                                                                                                                                                                                                                               
        ...pack/packer/start/neovim-cmake/lua/cmake/subcommands.lua:40: in function <...pack/packer/start/neovim-cmake/lua/cmake/subcommands.lua:25> 

Steps to reproduce

Expected behavior

Screenshots

Environment

Additional context

neovim cmake configuration https://github.com/moeryomenko/dotfiles/blob/main/nvim/lua/debugging.lua#L25-L55

Shatur commented 2 years ago

Can't reproduce. Could you try the latest master? I just pushed some updates.

moeryomenko commented 2 years ago

problem saves after update

Shatur commented 2 years ago

Could you try the following command inside your Neovim? :lua print(table.unpack({1, 2, 3}))

moeryomenko commented 2 years ago
E5108: Error executing lua [string ":lua"]:1: attempt to call field 'unpack' (a nil value)                                                                                                                                                                                                     
stack traceback:                                                                                                                                                                                                                                                                               
        [string ":lua"]:1: in main chunk

suppose have problem with my neovim version(concrete with LuaJIT)?

Shatur commented 2 years ago

I also use Arch and I have neovim 0.7.0-3 with luajit 2.1.0.beta3.r411.g68bb1140-1 - everything works fine.

moeryomenko commented 2 years ago

Apologize then, I'll look for the cause of the problem then in my configuration

moeryomenko commented 2 years ago

After update luajit to 2.1.0.beta3.r420.g0065cff7-1, it's work.