From a422f3393e93ae19d679520f43f38bd1c53ddf06 Mon Sep 17 00:00:00 2001 From: Phạm Bình An <111893501+brianhuster@users.noreply.github.com> Date: Thu, 20 Feb 2025 01:09:09 +0700 Subject: docs: Lua "bit" library #32492 Problem: lua-bit is built-in, but there is no doc Solution: Upstream doc from https://bitop.luajit.org/ --- runtime/doc/lua.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runtime/doc/lua.txt') diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index 0eca3286d0..ef2125841d 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -46,10 +46,9 @@ before using them: >lua -- code for plain lua 5.1 end < - *lua-bit* One exception is the LuaJIT `bit` extension, which is always available: when built with PUC Lua, Nvim includes a fallback implementation which provides -`require("bit")`. +`require("bit")`. See |lua-bit|. *lua-profile* If Nvim is built with LuaJIT, Lua code can be profiled via >lua -- cgit