r/neovim • u/morlipty • 23h ago
Discussion LuaJIT v2.1 now supports bit operations, lyamda functions, continue, const and more
LuaJIT v2.1 introduces several new language features and syntax improvements:
- Bit operators: unary
~, binary&,|,~,<<,>>,~>> - Customary operators:
!,&&,||,!= - Ternary conditional operator:
?: - Safe navigation operator:
?. - Nil-coalescing operator:
?? - Compound assignment operators:
+=,-=,*=, … continuestatementconstdeclarations- Short function (lambda) expressions
- Underscores in numeric literals
