aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorFolke Lemaitre <folke.lemaitre@gmail.com>2022-10-09 12:40:56 +0200
committerGitHub <noreply@github.com>2022-10-09 12:40:56 +0200
commit8c2226fc30931690186390d86f963cd43e6947ef (patch)
tree12df4d87f165f5512d155f58cea26a58e2d57b50 /runtime/lua/vim/shared.lua
parentedc8a1f04631b021f9c5e79f7162e34f7c3299db (diff)
downloadrneovim-8c2226fc30931690186390d86f963cd43e6947ef.tar.gz
rneovim-8c2226fc30931690186390d86f963cd43e6947ef.tar.bz2
rneovim-8c2226fc30931690186390d86f963cd43e6947ef.zip
fix(lua): properly configure luacheck and remove `local vim = ...` lines (#20551)
Diffstat (limited to 'runtime/lua/vim/shared.lua')
-rw-r--r--runtime/lua/vim/shared.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua
index fa2af57cfc..4b3a681eb2 100644
--- a/runtime/lua/vim/shared.lua
+++ b/runtime/lua/vim/shared.lua
@@ -6,7 +6,7 @@
-- or the test suite. (Eventually the test suite will be run in a worker process,
-- so this wouldn't be a separate case to consider)
-local vim = vim or {}
+vim = vim or {}
--- Returns a deep copy of the given object. Non-table objects are copied as
--- in a typical Lua assignment, whereas table objects are copied recursively.