aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/usermark.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/autoload/usermark.vim')
-rw-r--r--runtime/autoload/usermark.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/autoload/usermark.vim b/runtime/autoload/usermark.vim
new file mode 100644
index 0000000000..b1b4113d1a
--- /dev/null
+++ b/runtime/autoload/usermark.vim
@@ -0,0 +1,7 @@
+" This is used for the default userreg function.
+
+lua vim.usermark = require('vim.usermark')
+
+function! usermark#func(action, mark) abort
+ return v:lua.vim.usermark.fn(a:action, a:mark)
+endfunction