Mercurial > vim
annotate src/testdir/testluaplugin/lua/testluaplugin/hello.lua @ 35188:965c65610164 default tip
Added tag v9.1.0414 for changeset de9a4c63e943711d1cd7e9ac50fb0baf4cbbf33c
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 May 2024 21:00:48 +0200 |
parents | 054ba681412d |
children |
rev | line source |
---|---|
20609
054ba681412d
patch 8.2.0858: not easy to require Lua modules
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
1 local function hello() |
054ba681412d
patch 8.2.0858: not easy to require Lua modules
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
2 return "hello from lua" |
054ba681412d
patch 8.2.0858: not easy to require Lua modules
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
3 end |
054ba681412d
patch 8.2.0858: not easy to require Lua modules
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
4 |
054ba681412d
patch 8.2.0858: not easy to require Lua modules
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
5 return { |
054ba681412d
patch 8.2.0858: not easy to require Lua modules
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
6 hello = hello |
054ba681412d
patch 8.2.0858: not easy to require Lua modules
Bram Moolenaar <Bram@vim.org>
parents:
diff
changeset
|
7 } |