aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2022-08-21 22:19:51 -0600
committerJosh Rahm <joshuarahm@gmail.com>2022-08-21 22:19:51 -0600
commit4c09d516549ece383146d3f26359ce1a2305359c (patch)
treef7e8473678078413b4fcd0c5237c7a57a38cfab8 /runtime/autoload
parent716b7da69fd127eaec301c5d0c6620281eba1d98 (diff)
downloadrneovim-4c09d516549ece383146d3f26359ce1a2305359c.tar.gz
rneovim-4c09d516549ece383146d3f26359ce1a2305359c.tar.bz2
rneovim-4c09d516549ece383146d3f26359ce1a2305359c.zip
feat(userreg): add runtime 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