Shatur / neovim-cmake

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

Fixed pack and unpack functions #45

Closed Psyhich closed 2 years ago

Psyhich commented 2 years ago

table.pack and table.unpack functions are not supported by LuaJIT 2.1.0-beta3 and it's advised to change table.pack(...) to {...} and table.unpack to unpack

Shatur commented 2 years ago

{...}

Will this work for nil?

Psyhich commented 2 years ago

As I tried, it doesn't work only if key in pair is nil. Other nil values just get removed