aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-06 23:05:44 +0800
committerGitHub <noreply@github.com>2022-03-06 23:05:44 +0800
commit24d56116f70fff655282169ad010298349e0023b (patch)
treeb1762ed1fb426490c09b3707aabf277ce09daae2 /runtime/lua/vim
parent72a04bda90ddb1a333727926f74d0721a7fb45e7 (diff)
parent80e6f81862d943b2d31639a0e437b6abdff3373c (diff)
downloadrneovim-24d56116f70fff655282169ad010298349e0023b.tar.gz
rneovim-24d56116f70fff655282169ad010298349e0023b.tar.bz2
rneovim-24d56116f70fff655282169ad010298349e0023b.zip
Merge pull request #17623 from zeertzjq/lua-editor-mentions
docs(lua): reference runtime/lua/vim/_editor.lua
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/_editor.lua2
-rw-r--r--runtime/lua/vim/shared.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua
index 5f3329ef42..ddd1147468 100644
--- a/runtime/lua/vim/_editor.lua
+++ b/runtime/lua/vim/_editor.lua
@@ -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".
--
diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua
index e170befa4c..48d0bd3672 100644
--- a/runtime/lua/vim/shared.lua
+++ b/runtime/lua/vim/shared.lua
@@ -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 {}