aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-01-14 23:19:41 -0700
committerJosh Rahm <joshuarahm@gmail.com>2023-01-14 23:19:41 -0700
commit3e0218e7a0c47e2ce0aad11b635944cdd9b75c65 (patch)
tree9f3367296555c22f355bf5250b0d7d1924cec5f7 /runtime/autoload
parent7a6e249a32f79331bfb5e29bc0cabcf89a026081 (diff)
parent396c48d54ef313ca02e2e97849e51721094400cd (diff)
downloadrneovim-3e0218e7a0c47e2ce0aad11b635944cdd9b75c65.tar.gz
rneovim-3e0218e7a0c47e2ce0aad11b635944cdd9b75c65.tar.bz2
rneovim-3e0218e7a0c47e2ce0aad11b635944cdd9b75c65.zip
Merge branch 'userreg' into HEAD
Diffstat (limited to 'runtime/autoload')
-rw-r--r--runtime/autoload/userreg.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/autoload/userreg.vim b/runtime/autoload/userreg.vim
new file mode 100644
index 0000000000..fd026a12e6
--- /dev/null
+++ b/runtime/autoload/userreg.vim
@@ -0,0 +1,7 @@
+" This is used for the default userreg function.
+
+lua vim.userreg = require('vim.userreg')
+
+function! userreg#func(action, register, content) abort
+ return v:lua.vim.userreg.fn(a:action, a:register, a:content)
+endfunction