aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-24 02:29:23 -0800
committerAshkan Kiani <ashkan.k.kiani@gmail.com>2019-11-24 02:29:23 -0800
commitb78fdd7ce55ef4f02bff9358ed3a3b7b68618a37 (patch)
tree9d1b7811402d1000e6d9284db054a99b71bbe53d /runtime/lua/vim/shared.lua
parentf7c20b94c7c79ce883fa4f561c5c92f59a06641a (diff)
parentd0d38fc36e0c1602186aa540417070fa6c1e2746 (diff)
downloadrneovim-b78fdd7ce55ef4f02bff9358ed3a3b7b68618a37.tar.gz
rneovim-b78fdd7ce55ef4f02bff9358ed3a3b7b68618a37.tar.bz2
rneovim-b78fdd7ce55ef4f02bff9358ed3a3b7b68618a37.zip
Merge branch 'master' into lsp-followup
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 25287ed1aa..1912d3708d 100644
--- a/runtime/lua/vim/shared.lua
+++ b/runtime/lua/vim/shared.lua
@@ -4,7 +4,7 @@
-- 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
-local vim = {}
+local 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.