docs(lua): reference runtime/lua/vim/_editor.lua

This commit is contained in:
zeertzjq
2022-03-06 21:16:21 +08:00
parent 8ed9c84481
commit 80e6f81862
4 changed files with 17 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
-- `inspect` and `lpeg` modules.
-- 2. runtime/lua/vim/shared.lua: Code shared between Nvim and tests.
-- (This will go away if we migrate to nvim as the test-runner.)
-- 3. src/nvim/lua/: Compiled-into Nvim itself.
-- 3. runtime/lua/vim/_editor.lua: Compiled-into Nvim itself.
--
-- Guideline: "If in doubt, put it in the runtime".
--

View File

@@ -2,7 +2,7 @@
--
-- The singular purpose of this module is to share code with the Nvim
-- test-suite. If, in the future, Nvim itself is used to run the test-suite
-- instead of "vanilla Lua", these functions could move to src/nvim/lua/vim.lua
-- instead of "vanilla Lua", these functions could move to runtime/lua/vim/_editor.lua
local vim = vim or {}