<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/man.lua, branch aucmd_textputpost</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(man.lua): hardwrapped manpage is not resized #25646</title>
<updated>2023-10-16T16:59:33+00:00</updated>
<author>
<name>James Barford-Evans</name>
<email>jamesbarfordevans@gmail.com</email>
</author>
<published>2023-10-16T16:59:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a4c4b39d55db087af19a5ed8b6a1e5ecacb0c615'/>
<id>a4c4b39d55db087af19a5ed8b6a1e5ecacb0c615</id>
<content type='text'>
Problem:
If a manpage is opened, its hardwrapped dimensions are not recalculated
after closing then revisiting the same manpage.

Solution:
Unload the manpage when it is hidden. This forces it to be reloaded,
which forces the hard-wrapping to be recalculated when it is revisited.

Fixes: #25457</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
If a manpage is opened, its hardwrapped dimensions are not recalculated
after closing then revisiting the same manpage.

Solution:
Unload the manpage when it is hidden. This forces it to be reloaded,
which forces the hard-wrapping to be recalculated when it is revisited.

Fixes: #25457</pre>
</div>
</content>
</entry>
<entry>
<title>feat(man): respect 'wrapmargin' when wrapping man pages (#24091)</title>
<updated>2023-06-21T19:42:23+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-06-21T19:42:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=08db61b19b8fa07131fdcbea306893539963d4cb'/>
<id>08db61b19b8fa07131fdcbea306893539963d4cb</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): add `vim.system()`</title>
<updated>2023-06-07T12:52:23+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-06-07T12:52:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c0952e62fd0ee16a3275bb69e0de04c836b39015'/>
<id>c0952e62fd0ee16a3275bb69e0de04c836b39015</id>
<content type='text'>
feat(lua): add vim.system()

Problem:

  Handling system commands in Lua is tedious and error-prone:
  - vim.fn.jobstart() is vimscript and comes with all limitations attached to typval.
  - vim.loop.spawn is too low level

Solution:

  Add vim.system().
  Partly inspired by Python's subprocess module
  Does not expose any libuv objects.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat(lua): add vim.system()

Problem:

  Handling system commands in Lua is tedious and error-prone:
  - vim.fn.jobstart() is vimscript and comes with all limitations attached to typval.
  - vim.loop.spawn is too low level

Solution:

  Add vim.system().
  Partly inspired by Python's subprocess module
  Does not expose any libuv objects.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): rename vim.loop -&gt; vim.uv (#22846)</title>
<updated>2023-06-03T10:06:00+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-06-03T10:06:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2db719f6c2b677fcbc197b02fe52764a851523b2'/>
<id>2db719f6c2b677fcbc197b02fe52764a851523b2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(man.lua): return support of all sections</title>
<updated>2023-05-07T10:31:33+00:00</updated>
<author>
<name>Vadim A. Misbakh-Soloviov</name>
<email>msva@users.noreply.github.com</email>
</author>
<published>2023-05-05T04:15:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=209ed16f57a73518296c3dce0a1ef3975181318d'/>
<id>209ed16f57a73518296c3dce0a1ef3975181318d</id>
<content type='text'>
Current behaviour of `:Man` is to only work with "number" sections.
This is caused by wrong assumptions about man sections naming.

Also, there was similar assumption about length of section dirs
in `paths` variable.

fixes #23485

Signed-off-by: Vadim Misbakh-Soloviov &lt;git@mva.name&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current behaviour of `:Man` is to only work with "number" sections.
This is caused by wrong assumptions about man sections naming.

Also, there was similar assumption about length of section dirs
in `paths` variable.

fixes #23485

Signed-off-by: Vadim Misbakh-Soloviov &lt;git@mva.name&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(man.lua): don't continue on command error (#23009)</title>
<updated>2023-04-11T01:35:01+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2023-04-11T01:35:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56'/>
<id>c8d1d8b2546c5974f4ce75fc87f918bc8cfe8e56</id>
<content type='text'>
Fix #21169</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #21169</pre>
</div>
</content>
</entry>
<entry>
<title>fix(man.lua): tests, naming</title>
<updated>2023-03-07T14:23:06+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2023-03-07T14:13:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=304477ff3504373a336c83127654e65eddfa2ef9'/>
<id>304477ff3504373a336c83127654e65eddfa2ef9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(man.lua): support spaces in manpage names</title>
<updated>2023-03-07T14:19:24+00:00</updated>
<author>
<name>Eriks Muhins</name>
<email>chad@eriksmuhins.com</email>
</author>
<published>2023-03-03T19:44:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=160a019ffa104eebd65f4037729954d98aca6ad0'/>
<id>160a019ffa104eebd65f4037729954d98aca6ad0</id>
<content type='text'>
Problem:
:Man command errors if given more than two arguments. Thus, it is
impossible to open man pages that contain spaces in their names.

Solution:
Adjust :Man so that it tries variants with spaces and underscores, and
uses the first found.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
:Man command errors if given more than two arguments. Thus, it is
impossible to open man pages that contain spaces in their names.

Solution:
Adjust :Man so that it tries variants with spaces and underscores, and
uses the first found.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(man): add type annotations</title>
<updated>2023-02-21T12:19:09+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-02-21T12:19:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2d99830706a8560ac6f4668b4a384afc776cc7f4'/>
<id>2d99830706a8560ac6f4668b4a384afc776cc7f4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(man): use italics for `&lt;bs&gt;_` (#22086)</title>
<updated>2023-02-01T17:21:42+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2023-02-01T17:21:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9ce44a750c2a65082962effe6ce4d185b7698d73'/>
<id>9ce44a750c2a65082962effe6ce4d185b7698d73</id>
<content type='text'>
fix(man): use italics for &lt;bs&gt;_

Even though underline is strictly what this should be. &lt;bs&gt;_ was used by
nroff to indicate italics which wasn't possible on old typewriters so
underline was used. Modern terminals now support italics so lets use
that now.

See:
- https://unix.stackexchange.com/questions/274658/purpose-of-ascii-text-with-overstriking-file-format/274795#274795
- https://cmd.inp.nsk.su/old/cmd2/manuals/unix/UNIX_Unleashed/ch08.htm</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fix(man): use italics for &lt;bs&gt;_

Even though underline is strictly what this should be. &lt;bs&gt;_ was used by
nroff to indicate italics which wasn't possible on old typewriters so
underline was used. Modern terminals now support italics so lets use
that now.

See:
- https://unix.stackexchange.com/questions/274658/purpose-of-ascii-text-with-overstriking-file-format/274795#274795
- https://cmd.inp.nsk.su/old/cmd2/manuals/unix/UNIX_Unleashed/ch08.htm</pre>
</div>
</content>
</entry>
</feed>
