aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:03:54 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:03:54 -0700
commitdf8f1db2a0c771364865be79bf12656a40b7028b (patch)
treeb6f6b9ec8dd46deed2a956249b0e82903c628492 /runtime/autoload
parent7a7f497b483cd65e340064f23ed1c73425ecba0a (diff)
parentc324271b99eee4c621463f368914d57cd729bd9c (diff)
downloadrneovim-df8f1db2a0c771364865be79bf12656a40b7028b.tar.gz
rneovim-df8f1db2a0c771364865be79bf12656a40b7028b.tar.bz2
rneovim-df8f1db2a0c771364865be79bf12656a40b7028b.zip
Merge branch 'userreg' into mix_20240309
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