<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/ftplugin/man.vim, 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(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>fix(man.vim): filetype=man is too eager #15488</title>
<updated>2021-08-26T09:19:52+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-08-26T09:19:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=2548a9e18037339c4c502d971bdeaf909b82a739'/>
<id>2548a9e18037339c4c502d971bdeaf909b82a739</id>
<content type='text'>
Problem:
"set filetype=man" assumes the user wants :Man features, this does extra
stuff like renaming the buffer as "man://".

Solution:
- old entrypoint was ":set filetype=man", but this is too presumptuous #15487
- make the entrypoints more explicit:
  1. when the ":Man" command is run
  2. when a "man://" buffer is opened
- remove the tricky b:man_sect checks in ftplugin/man.vim and syntax/man.vim
- MANPAGER is supported via ":Man!", as documented.

fixes #15487</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
"set filetype=man" assumes the user wants :Man features, this does extra
stuff like renaming the buffer as "man://".

Solution:
- old entrypoint was ":set filetype=man", but this is too presumptuous #15487
- make the entrypoints more explicit:
  1. when the ":Man" command is run
  2. when a "man://" buffer is opened
- remove the tricky b:man_sect checks in ftplugin/man.vim and syntax/man.vim
- MANPAGER is supported via ":Man!", as documented.

fixes #15487</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: Add double click mapping.</title>
<updated>2020-12-09T22:17:53+00:00</updated>
<author>
<name>Edwin Pujols</name>
<email>edwin.pujols5@outlook.com</email>
</author>
<published>2020-12-05T13:35:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=de5372c8c0ada8219d37055cc19dca9fcf8a055d'/>
<id>de5372c8c0ada8219d37055cc19dca9fcf8a055d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: Set iskeyword explicitly.</title>
<updated>2020-12-04T12:14:40+00:00</updated>
<author>
<name>Edwin Pujols</name>
<email>edwin.pujols5@outlook.com</email>
</author>
<published>2020-12-03T22:49:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e8153ad9c250b181a8d06ad1abb907ba8d362997'/>
<id>e8153ad9c250b181a8d06ad1abb907ba8d362997</id>
<content type='text'>
This also fixes `:Man!`, which wasn't setting 'iskeyword' to contain
parentheses, etc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also fixes `:Man!`, which wasn't setting 'iskeyword' to contain
parentheses, etc.
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: Add - to 'iskeyword' (#12598)</title>
<updated>2020-08-08T16:48:33+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>hi@nhooyr.io</email>
</author>
<published>2020-08-08T16:48:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7f49594813287d8134c52b3a9ee8ff099d525468'/>
<id>7f49594813287d8134c52b3a9ee8ff099d525468</id>
<content type='text'>
Pressing K on manpages with - in their name will now work.

I noticed this the manpages of https://github.com/cli/cli</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pressing K on manpages with - in their name will now work.

I noticed this the manpages of https://github.com/cli/cli</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: Remove unnecessary code</title>
<updated>2020-06-13T06:55:40+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>hi@nhooyr.io</email>
</author>
<published>2020-06-13T04:54:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e8ccd0f2347feb26071e8667d24f3281db79ede3'/>
<id>e8ccd0f2347feb26071e8667d24f3281db79ede3</id>
<content type='text'>
Not sure why this was added in https://github.com/neovim/neovim/commit/94f4469638590ca5cc724ab6459f2cfc78c621a4

It doesn't seem to do anything and I can't reproduce the linked issue
with this patch so I think it's all working now.

cc @justinmk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not sure why this was added in https://github.com/neovim/neovim/commit/94f4469638590ca5cc724ab6459f2cfc78c621a4

It doesn't seem to do anything and I can't reproduce the linked issue
with this patch so I think it's all working now.

cc @justinmk
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: remove K mapping #11472</title>
<updated>2019-11-28T22:04:40+00:00</updated>
<author>
<name>Rob Pilling</name>
<email>robpilling@gmail.com</email>
</author>
<published>2019-11-28T22:04:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ee1199eaba7cafa6b60611ebece1407bc274e330'/>
<id>ee1199eaba7cafa6b60611ebece1407bc274e330</id>
<content type='text'>
Since #11457 this mapping is no longer necessary.
'keywordprg' defaults to :Man in options.lua</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since #11457 this mapping is no longer necessary.
'keywordprg' defaults to :Man in options.lua</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: Update maintainer email</title>
<updated>2019-11-25T01:31:46+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>hi@nhooyr.io</email>
</author>
<published>2019-11-25T01:10:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=afaa0626430ba0150729a088234698de85174ce6'/>
<id>afaa0626430ba0150729a088234698de85174ce6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: use 'tagfunc' instead of remapping</title>
<updated>2019-10-24T20:15:18+00:00</updated>
<author>
<name>Rob Pilling</name>
<email>robpilling@gmail.com</email>
</author>
<published>2019-10-22T22:40:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=63f0ca326322376271c68f51cf8908daad524339'/>
<id>63f0ca326322376271c68f51cf8908daad524339</id>
<content type='text'>
man#pop_tag() is also no longer used
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
man#pop_tag() is also no longer used
</pre>
</div>
</content>
</entry>
</feed>
