<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/plugin/man_spec.lua, branch floattitle</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>feat(Man): port to Lua (#19912)</title>
<updated>2022-09-02T14:20:29+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-09-02T14:20:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2afcdbd63a5b0cbeaad9d83b096a3af5201c67a9'/>
<id>2afcdbd63a5b0cbeaad9d83b096a3af5201c67a9</id>
<content type='text'>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix(exceptions): restore `did_throw` (#20000)</title>
<updated>2022-08-30T22:13:52+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2022-08-30T22:13:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=813476bf7291dfaf9fc0ef77c9f53a07258a3801'/>
<id>813476bf7291dfaf9fc0ef77c9f53a07258a3801</id>
<content type='text'>
`!did_throw` doesn't exactly imply `!current_exception`, as `did_throw = false`
is sometimes used to defer exception handling for later (without forgetting the
exception). E.g: uncaught exception handling in `do_cmdline()` may be deferred
to a different call (e.g: when `try_level &gt; 0`).

In #7881, `current_exception = NULL` in `do_cmdline()` is used as an analogue of
`did_throw = false`, but also causes the pending exception to be lost, which
also leaks as `discard_exception()` wasn't used.

It may be possible to fix this by saving/restoring `current_exception`, but
handling all of `did_throw`'s edge cases seems messier. Maybe not worth
diverging over.

This fix also uncovers a `man_spec.lua` bug on Windows: exceptions are thrown
due to Windows missing `man`, but they're lost; skip these tests if `man` isn't
executable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`!did_throw` doesn't exactly imply `!current_exception`, as `did_throw = false`
is sometimes used to defer exception handling for later (without forgetting the
exception). E.g: uncaught exception handling in `do_cmdline()` may be deferred
to a different call (e.g: when `try_level &gt; 0`).

In #7881, `current_exception = NULL` in `do_cmdline()` is used as an analogue of
`did_throw = false`, but also causes the pending exception to be lost, which
also leaks as `discard_exception()` wasn't used.

It may be possible to fix this by saving/restoring `current_exception`, but
handling all of `did_throw`'s edge cases seems messier. Maybe not worth
diverging over.

This fix also uncovers a `man_spec.lua` bug on Windows: exceptions are thrown
due to Windows missing `man`, but they're lost; skip these tests if `man` isn't
executable.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(man.vim): q in "$MANPAGER mode" does not quit #18443</title>
<updated>2022-05-13T14:49:08+00:00</updated>
<author>
<name>Arsham Shirvani</name>
<email>arshamshirvani@gmail.com</email>
</author>
<published>2022-05-13T14:49:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f6ba7d69be2c57f80c9ee95276733e949aceb009'/>
<id>f6ba7d69be2c57f80c9ee95276733e949aceb009</id>
<content type='text'>
Problem:
q in "$MANPAGER mode" does not quit Nvim. This is because
ftplugin/man.vim creates its own mapping:
    nnoremap &lt;silent&gt; &lt;buffer&gt; &lt;nowait&gt; q :lclose&lt;CR&gt;&lt;C-W&gt;c
which overrides the one set by the autoload file when using :Man!
("$MANPAGER mode")

Solution:
Set b:pager during "$MANPAGER mode" so that ftplugin/man.vim can set the
mapping correctly.

Fixes #18281
Ref #17791

Helped-by: Gregory Anders &lt;8965202+gpanders@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
q in "$MANPAGER mode" does not quit Nvim. This is because
ftplugin/man.vim creates its own mapping:
    nnoremap &lt;silent&gt; &lt;buffer&gt; &lt;nowait&gt; q :lclose&lt;CR&gt;&lt;C-W&gt;c
which overrides the one set by the autoload file when using :Man!
("$MANPAGER mode")

Solution:
Set b:pager during "$MANPAGER mode" so that ftplugin/man.vim can set the
mapping correctly.

Fixes #18281
Ref #17791

Helped-by: Gregory Anders &lt;8965202+gpanders@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>tests/ui: remove unnecessary screen:detach()</title>
<updated>2019-10-13T20:10:42+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2019-10-13T18:18:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4987311fb5b8f4a11d26995f71f5f402a9e2ace4'/>
<id>4987311fb5b8f4a11d26995f71f5f402a9e2ace4</id>
<content type='text'>
It is perfectly fine and expected to detach from the screen just by
the UI disconnecting from nvim or exiting nvim. Just keep detach() in
screen_basic_spec, to get some coverage of the detach method itself.

This avoids hang on failure in many situations (though one could argue
that detach() should be "fast", or at least "as fast as resize",
which works in press-return already).

Never use detach() just to change the size of the screen, try_resize()
method exists for that specifically.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is perfectly fine and expected to detach from the screen just by
the UI disconnecting from nvim or exiting nvim. Just keep detach() in
screen_basic_spec, to get some coverage of the detach method itself.

This avoids hang on failure in many situations (though one could argue
that detach() should be "fast", or at least "as fast as resize",
which works in press-return already).

Never use detach() just to change the size of the screen, try_resize()
method exists for that specifically.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests/ui: cleanup illegitimate usages of "attr_ignore"</title>
<updated>2019-10-13T20:10:42+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2019-10-12T11:29:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a330129a280a34963e42d498f7cb1f53e6723e85'/>
<id>a330129a280a34963e42d498f7cb1f53e6723e85</id>
<content type='text'>
"attr_ignore" is an anti-pattern, with snapshot_util()
just include all the highlights already.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"attr_ignore" is an anti-pattern, with snapshot_util()
just include all the highlights already.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/man_spec: remove plugin_helpers.reset()</title>
<updated>2019-08-05T02:51:49+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-08-05T02:51:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d4a0b6c4e1d78f19bf5879b113c5252d5a4f2e5c'/>
<id>d4a0b6c4e1d78f19bf5879b113c5252d5a4f2e5c</id>
<content type='text'>
The call to plugin_helpers.reset() is redundant with the clear() call
above it.  Probably just a copy-paste mistake.

Avoids exit_event race #8813.

Helped-by: Björn Linse &lt;bjorn.linse@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The call to plugin_helpers.reset() is redundant with the clear() call
above it.  Probably just a copy-paste mistake.

Avoids exit_event race #8813.

Helped-by: Björn Linse &lt;bjorn.linse@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: Handle ANSI escape sequences with ":" #10267</title>
<updated>2019-06-30T13:25:49+00:00</updated>
<author>
<name>Kovas Palunas</name>
<email>kovas@uw.edu</email>
</author>
<published>2019-06-18T20:35:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=fdd8dcae01beb66397226ad65e4f1bbd3d1dd55c'/>
<id>fdd8dcae01beb66397226ad65e4f1bbd3d1dd55c</id>
<content type='text'>
closes #10267
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes #10267
</pre>
</div>
</content>
</entry>
<entry>
<title>test: man_spec: Fix use of nested [[ quoting</title>
<updated>2018-02-02T12:28:56+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2018-02-01T19:30:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e243dbdc328b53926009153bd7fca32ebfc1abb2'/>
<id>e243dbdc328b53926009153bd7fca32ebfc1abb2</id>
<content type='text'>
Lua (not LuaJIT) complains about the "^[[" strings inside the expect,
since it sees them as nested quotes.  Change the quoting to [=[ ]=] to
avoid the issue.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Lua (not LuaJIT) complains about the "^[[" strings inside the expect,
since it sees them as nested quotes.  Change the quoting to [=[ ]=] to
avoid the issue.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge #7623 'man.vim: highlight bold, underlined text'</title>
<updated>2018-01-09T09:10:22+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-01-09T09:10:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=59888b68ab68d974da36a0fae8edce6725ba2167'/>
<id>59888b68ab68d974da36a0fae8edce6725ba2167</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Address PR comments</title>
<updated>2017-12-28T04:28:04+00:00</updated>
<author>
<name>Gabriel Holodak</name>
<email>gthepiper@gmail.com</email>
</author>
<published>2017-12-24T17:16:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=eb44519b5debf740f692bb4ea19ad83b29749484'/>
<id>eb44519b5debf740f692bb4ea19ad83b29749484</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
