aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-08-18 23:03:17 -0600
committerJosh Rahm <rahm@google.com>2022-08-18 23:03:17 -0600
commitb9a0252822e3969574d4e07e7e85b8292ef5bae0 (patch)
treebc16601f62278669d87ecfb63e5f380dc58cf5ba /runtime/autoload
parentb698f03ae66eae9eaf6e992d8dd0e69d8fe14347 (diff)
downloadrneovim-b9a0252822e3969574d4e07e7e85b8292ef5bae0.tar.gz
rneovim-b9a0252822e3969574d4e07e7e85b8292ef5bae0.tar.bz2
rneovim-b9a0252822e3969574d4e07e7e85b8292ef5bae0.zip
Add runitme files for userreg.
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