<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/lua/luaeval_spec.lua, branch 20230125_mix</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>fix(eval): check for v:lua when calling callback (#19855)</title>
<updated>2022-08-20T07:52:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-20T07:52:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bffaf1e27e49c3dbbc0b59d023a0fd9243e254aa'/>
<id>bffaf1e27e49c3dbbc0b59d023a0fd9243e254aa</id>
<content type='text'>
This makes callback_call() match call_vim_function() when calling a function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes callback_call() match call_vim_function() when calling a function.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(eval): v:lua support for `-` in module names</title>
<updated>2022-01-28T17:20:26+00:00</updated>
<author>
<name>bb010g</name>
<email>me@bb010g.com</email>
</author>
<published>2022-01-27T04:35:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fb8cd340dcd102773f0651c75436271fcab721d4'/>
<id>fb8cd340dcd102773f0651c75436271fcab721d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): enable stack traces in error output (#16228)</title>
<updated>2021-11-06T14:26:10+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2021-11-06T14:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=03b805aee617f67eb7f33a54822bc76c23a2c5f5'/>
<id>03b805aee617f67eb7f33a54822bc76c23a2c5f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): document support of packages with v:lua syntax</title>
<updated>2021-10-23T16:24:00+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2021-10-23T16:20:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9dd371bb2e60be4818c5d8fcd84274a700495fd9'/>
<id>9dd371bb2e60be4818c5d8fcd84274a700495fd9</id>
<content type='text'>
this already worked in 0.5 but was not properly documented or tested
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this already worked in 0.5 but was not properly documented or tested
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(eval/method): partially port v8.1.1954</title>
<updated>2021-10-03T19:06:33+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-31T22:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=86593beaa40035a10a664d3147327a01f4885cb7'/>
<id>86593beaa40035a10a664d3147327a01f4885cb7</id>
<content type='text'>
Does not include listener_*() functions.

js_*() functions are N/A.

json_encode() and json_decode() didn't include tests; add some anyway
(to json_functions_spec.lua).

test_lua.vim isn't included yet, so add tests to luaeval_spec.lua.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Does not include listener_*() functions.

js_*() functions are N/A.

json_encode() and json_decode() didn't include tests; add some anyway
(to json_functions_spec.lua).

test_lua.vim isn't included yet, so add tests to luaeval_spec.lua.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(decode_string): decode binary string with NULs to Blob</title>
<updated>2021-09-15T20:19:30+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-07-31T20:45:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=de9df825d5e38e6a9e5ba254d1d27cb3cfc9f557'/>
<id>de9df825d5e38e6a9e5ba254d1d27cb3cfc9f557</id>
<content type='text'>
Strings that previously decoded into a msgpack special for representing
BINs with NULs now convert to Blobs. It shouldn't be possible to decode
into this special anymore after this change?

Notably, Lua strings with NULs now convert to Blobs when passed to VimL.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Strings that previously decoded into a msgpack special for representing
BINs with NULs now convert to Blobs. It shouldn't be possible to decode
into this special anymore after this change?

Notably, Lua strings with NULs now convert to Blobs when passed to VimL.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(nlua): convert Blobs to strings</title>
<updated>2021-09-15T20:19:29+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-02T18:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=10aa60e806c300cc7bd1f84e52b4b043d6fac537'/>
<id>10aa60e806c300cc7bd1f84e52b4b043d6fac537</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(v:lua): support calling v:lua as a method</title>
<updated>2021-08-13T00:11:36+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-11T12:47:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b2994e35c9357a8144beaf27e1a8ea4dd133f5d4'/>
<id>b2994e35c9357a8144beaf27e1a8ea4dd133f5d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(v:lua): fix emsg when calling v:lua directly</title>
<updated>2021-08-12T21:35:25+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-12T16:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=da9005af792f7a7eaae98ee9f6499af9a97fd095'/>
<id>da9005af792f7a7eaae98ee9f6499af9a97fd095</id>
<content type='text'>
v:lua expressions are represented using vvlua_partial. As v:lua isn't
intended to be called directly, it's given an empty pt_name.

Because of this, calling v:lua directly like "v:lua()" will cause "E117:
Unknown function: ", with an empty name.

Instead, have call_func() show the name "v:lua" in the emsg.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
v:lua expressions are represented using vvlua_partial. As v:lua isn't
intended to be called directly, it's given an empty pt_name.

Because of this, calling v:lua directly like "v:lua()" will cause "E117:
Unknown function: ", with an empty name.

Instead, have call_func() show the name "v:lua" in the emsg.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/vim.validate(): assert normalized stacktrace</title>
<updated>2020-10-05T13:47:59+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2020-09-13T02:04:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8e77d70e29f936f4e708ee3244046188b8ad0383'/>
<id>8e77d70e29f936f4e708ee3244046188b8ad0383</id>
<content type='text'>
- The previous commit lost information in the tests. Instead, add some
  more "normalization" substitutions in pcall_err(), so that the general
  shape of the stacktrace is included in the asserted text.
- Eliminate contains(), it is redundant with matches()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The previous commit lost information in the tests. Instead, add some
  more "normalization" substitutions in pcall_err(), so that the general
  shape of the stacktrace is included in the asserted text.
- Eliminate contains(), it is redundant with matches()
</pre>
</div>
</content>
</entry>
</feed>
