aboutsummaryrefslogtreecommitdiff
path: root/test/old/testdir/sautest/autoload
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2023-11-29 21:52:58 +0000
committerJosh Rahm <joshuarahm@gmail.com>2023-11-29 21:52:58 +0000
commit931bffbda3668ddc609fc1da8f9eb576b170aa52 (patch)
treed8c1843a95da5ea0bb4acc09f7e37843d9995c86 /test/old/testdir/sautest/autoload
parent142d9041391780ac15b89886a54015fdc5c73995 (diff)
parent4a8bf24ac690004aedf5540fa440e788459e5e34 (diff)
downloadrneovim-userreg.tar.gz
rneovim-userreg.tar.bz2
rneovim-userreg.zip
Merge remote-tracking branch 'upstream/master' into userreguserreg
Diffstat (limited to 'test/old/testdir/sautest/autoload')
-rw-r--r--test/old/testdir/sautest/autoload/foo.vim15
-rw-r--r--test/old/testdir/sautest/autoload/footest.vim5
-rw-r--r--test/old/testdir/sautest/autoload/globone.vim1
-rw-r--r--test/old/testdir/sautest/autoload/globtwo.vim1
-rw-r--r--test/old/testdir/sautest/autoload/sourced.vim4
5 files changed, 26 insertions, 0 deletions
diff --git a/test/old/testdir/sautest/autoload/foo.vim b/test/old/testdir/sautest/autoload/foo.vim
new file mode 100644
index 0000000000..21d33a0f4d
--- /dev/null
+++ b/test/old/testdir/sautest/autoload/foo.vim
@@ -0,0 +1,15 @@
+let g:loaded_foo_vim += 1
+
+let foo#bar = {}
+
+func foo#bar.echo()
+ let g:called_foo_bar_echo += 1
+endfunc
+
+func foo#addFoo(head)
+ return a:head .. 'foo'
+endfunc
+
+func foo#()
+ return 'empty'
+endfunc
diff --git a/test/old/testdir/sautest/autoload/footest.vim b/test/old/testdir/sautest/autoload/footest.vim
new file mode 100644
index 0000000000..1e78963a10
--- /dev/null
+++ b/test/old/testdir/sautest/autoload/footest.vim
@@ -0,0 +1,5 @@
+" Autoload script used by test_listdict.vim, test_exists.vim and test_let.vim
+let footest#x = 1
+func footest#F()
+ return 0
+endfunc
diff --git a/test/old/testdir/sautest/autoload/globone.vim b/test/old/testdir/sautest/autoload/globone.vim
new file mode 100644
index 0000000000..98c9a10582
--- /dev/null
+++ b/test/old/testdir/sautest/autoload/globone.vim
@@ -0,0 +1 @@
+" used by Test_globpath()
diff --git a/test/old/testdir/sautest/autoload/globtwo.vim b/test/old/testdir/sautest/autoload/globtwo.vim
new file mode 100644
index 0000000000..98c9a10582
--- /dev/null
+++ b/test/old/testdir/sautest/autoload/globtwo.vim
@@ -0,0 +1 @@
+" used by Test_globpath()
diff --git a/test/old/testdir/sautest/autoload/sourced.vim b/test/old/testdir/sautest/autoload/sourced.vim
new file mode 100644
index 0000000000..aac96b11ce
--- /dev/null
+++ b/test/old/testdir/sautest/autoload/sourced.vim
@@ -0,0 +1,4 @@
+let g:loaded_sourced_vim += 1
+func sourced#something()
+endfunc
+call sourced#something()