<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/ftplugin, branch v0.1.5</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>man.vim: Avoid error in legacy vimrcs.</title>
<updated>2016-08-20T02:57:24+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-08-20T02:57:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1b825a9ada4d89059645bc7a458e1e8d931c6161'/>
<id>1b825a9ada4d89059645bc7a458e1e8d931c6161</id>
<content type='text'>
The old man.vim ftplugin advises users to add this to vimrc:

    runtime ftplugin/man.vim

Make this a no-op to avoid sending users on a debugging quest.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The old man.vim ftplugin advises users to add this to vimrc:

    runtime ftplugin/man.vim

Make this a no-op to avoid sending users on a debugging quest.
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: doc fixes #5171</title>
<updated>2016-08-13T12:58:21+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>anmol@aubble.com</email>
</author>
<published>2016-08-08T03:17:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=79ef4b72d7cadb094aec35ec26dce2e8bfcda417'/>
<id>79ef4b72d7cadb094aec35ec26dce2e8bfcda417</id>
<content type='text'>
- Weird tab+space combination used for alignment. All spaces now
- Added back &lt;C-T&gt; mapping (somehow we missed that completely)
- Fixed mistake that &lt;Plug&gt;(Man) opens in a new tab. Also added note at
  top on how the window is chosen/opened.
- Clarified q local mapping
- Removed section that shows an example autocmd to add desired folding
  style.
- Removed random line in `usr_12.txt` about `&lt;Leader&gt;` and backslash.
- :Man supports completion, not auto-completion.

Closes #5171
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Weird tab+space combination used for alignment. All spaces now
- Added back &lt;C-T&gt; mapping (somehow we missed that completely)
- Fixed mistake that &lt;Plug&gt;(Man) opens in a new tab. Also added note at
  top on how the window is chosen/opened.
- Clarified q local mapping
- Removed section that shows an example autocmd to add desired folding
  style.
- Removed random line in `usr_12.txt` about `&lt;Leader&gt;` and backslash.
- :Man supports completion, not auto-completion.

Closes #5171
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: handle 'gdefault' (#5182)</title>
<updated>2016-08-07T21:30:05+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>nhooyr@users.noreply.github.com</email>
</author>
<published>2016-08-07T21:30:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6050d3f15dea67759afa4bcc68a3cd9feeaabe98'/>
<id>6050d3f15dea67759afa4bcc68a3cd9feeaabe98</id>
<content type='text'>
Fixes #5181</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #5181</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: buffers are now listed</title>
<updated>2016-08-07T19:53:31+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>anmol@aubble.com</email>
</author>
<published>2016-08-06T20:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8'/>
<id>e8a3477dc771f6e8f9fa0c8de6d2bdef76fabdc8</id>
<content type='text'>
- Since the names are set and ':vsplit printf(3)' work, there is no need
to unlist them.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Since the names are set and ':vsplit printf(3)' work, there is no need
to unlist them.
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: default K mapping</title>
<updated>2016-08-06T23:49:29+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>anmol@aubble.com</email>
</author>
<published>2016-08-05T04:04:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f665bde183b5f44d82bd4cb66e0241c242c34766'/>
<id>f665bde183b5f44d82bd4cb66e0241c242c34766</id>
<content type='text'>
- Also some small improvements in other parts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Also some small improvements in other parts.
</pre>
</div>
</content>
</entry>
<entry>
<title>man.vim: rewrite</title>
<updated>2016-08-05T02:46:53+00:00</updated>
<author>
<name>Anmol Sethi</name>
<email>anmol@aubble.com</email>
</author>
<published>2016-03-14T09:05:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=42e9606c23eab6542678d2786e7e5819fd704e92'/>
<id>42e9606c23eab6542678d2786e7e5819fd704e92</id>
<content type='text'>
- Smart autocomplete. It's automatically sorted, filtered for duplicates
  and even formats the candidates based on what is needed. For example,
  `:Man 1 printf&lt;TAB&gt;` will show the pages that are in section 1m as
  'page(sect)' to let you know they are in a more specific section.
- Instead of trying to unset $MANPAGER we use the -P flag to set the
  pager to cat
- Always use the section arg '-s', it makes the code much simpler
  (see comment in s:man-args).
- A manpage name starting with '-' is invalid. It's fine for sections
  because of the use of '-s'.

- The tagstack is an actual stack now, makes it much simpler.
- By using v:count and v:count1, the plugin can explicitly check whether
  the user set a count, instead of relying on a default value (0) that
  is actually a real manpage section.
- Extraction of a manpage reference is much more simple. No giant long
  complicated regexes. Now, the plugin lets `man` handle the actual
  validation. We merely extract the section and page. Syntax regexes are
  a bit more specific though to prevent highlighting everything.
- Multilingual support in the syntax file. Removed the cruft that was only
  relevent to vim. Also simplified and improved many of the regexes.

- Using shellescape when sending the page and sect as arguments
- In general, the code flow is much more obvious.
- man#get_page has been split up into smaller functions with explicit
  responsibilties
- ':help' behavior in opening splits and manpages
- Comments explaining anything that needs explaining and isn't
  immediately obvious.
- If a manpage has already been loaded but if it were to reloaded at the
  current width which is the same as the width at which it was loaded at
  previously, it is not reloaded.

- Use substitute to remove the backspaced instead of `col -b`, as the
  latter doesn't work with other languages.
- Open paths to manpages
- It uses cWORD instead of cword to get the manpage under the cursor, this
  helps with files that do not have (,) in iskeyword. It also means the
  plugin does not set iskeyword locally anymore.
- &lt;Plug&gt;(Man) mapping for easy remapping
- Switched to single quotes wherever possible.
- Updated docs in $VIMRUNTIME/doc/filetype.txt (still need to update
  user-manual)

- Always call tolower on section name. See comment in
  s:extract_page_and_sect_fpage
- Formatting/consistency cleanup
- Automatically map q to ':q&lt;CR&gt;' when invoked as $MANPAGER
- It also fully supports being used as $MANPAGER. Setting the name and
  stuff automatically.
- Split up the setlocals into multiple lines for easier readability
- Better detection of errors by redirecting stderr to /dev/null. If an
  error occured, stdout will be empty.

- Functions return [sect, page] not [page, sect]. Makes more sense with
  how man takes the arguments as sect and then page.
- Pretty prints errors on a single line.
- If no section is given, automatically finds the correct section for
  the buffer name. It also gets the correct page. See the comment in
  s:get_page
- If $MANWIDTH is not set, do not assign directly to $MANWIDTH because
  then $MANWIDTH will always stay set to the same value as we only use
  winwidth(0) when the global $MANWIDTH is empty. Instead we set it
  locally for the command.
- Maintainer notes on all files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Smart autocomplete. It's automatically sorted, filtered for duplicates
  and even formats the candidates based on what is needed. For example,
  `:Man 1 printf&lt;TAB&gt;` will show the pages that are in section 1m as
  'page(sect)' to let you know they are in a more specific section.
- Instead of trying to unset $MANPAGER we use the -P flag to set the
  pager to cat
- Always use the section arg '-s', it makes the code much simpler
  (see comment in s:man-args).
- A manpage name starting with '-' is invalid. It's fine for sections
  because of the use of '-s'.

- The tagstack is an actual stack now, makes it much simpler.
- By using v:count and v:count1, the plugin can explicitly check whether
  the user set a count, instead of relying on a default value (0) that
  is actually a real manpage section.
- Extraction of a manpage reference is much more simple. No giant long
  complicated regexes. Now, the plugin lets `man` handle the actual
  validation. We merely extract the section and page. Syntax regexes are
  a bit more specific though to prevent highlighting everything.
- Multilingual support in the syntax file. Removed the cruft that was only
  relevent to vim. Also simplified and improved many of the regexes.

- Using shellescape when sending the page and sect as arguments
- In general, the code flow is much more obvious.
- man#get_page has been split up into smaller functions with explicit
  responsibilties
- ':help' behavior in opening splits and manpages
- Comments explaining anything that needs explaining and isn't
  immediately obvious.
- If a manpage has already been loaded but if it were to reloaded at the
  current width which is the same as the width at which it was loaded at
  previously, it is not reloaded.

- Use substitute to remove the backspaced instead of `col -b`, as the
  latter doesn't work with other languages.
- Open paths to manpages
- It uses cWORD instead of cword to get the manpage under the cursor, this
  helps with files that do not have (,) in iskeyword. It also means the
  plugin does not set iskeyword locally anymore.
- &lt;Plug&gt;(Man) mapping for easy remapping
- Switched to single quotes wherever possible.
- Updated docs in $VIMRUNTIME/doc/filetype.txt (still need to update
  user-manual)

- Always call tolower on section name. See comment in
  s:extract_page_and_sect_fpage
- Formatting/consistency cleanup
- Automatically map q to ':q&lt;CR&gt;' when invoked as $MANPAGER
- It also fully supports being used as $MANPAGER. Setting the name and
  stuff automatically.
- Split up the setlocals into multiple lines for easier readability
- Better detection of errors by redirecting stderr to /dev/null. If an
  error occured, stdout will be empty.

- Functions return [sect, page] not [page, sect]. Makes more sense with
  how man takes the arguments as sect and then page.
- Pretty prints errors on a single line.
- If no section is given, automatically finds the correct section for
  the buffer name. It also gets the correct page. See the comment in
  s:get_page
- If $MANWIDTH is not set, do not assign directly to $MANWIDTH because
  then $MANWIDTH will always stay set to the same value as we only use
  winwidth(0) when the global $MANWIDTH is empty. Instead we set it
  locally for the command.
- Maintainer notes on all files.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:77cdfd1</title>
<updated>2016-07-08T05:43:36+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2016-06-20T14:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ea18b4a60f3b89d261c46b030d3d026ddad864bb'/>
<id>ea18b4a60f3b89d261c46b030d3d026ddad864bb</id>
<content type='text'>
Updated runtime files.

https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151

Ignore changes to:
* doc/channel.txt, doc/eval.txt: Channel related docs
* doc/options.txt: GUI related docs
* doc/tags: Generated at build time
* doc/todo.txt: Irrelevant for Neovim
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated runtime files.

https://github.com/vim/vim/commit/77cdfd10382e01cc51f4ba1a9177032351843151

Ignore changes to:
* doc/channel.txt, doc/eval.txt: Channel related docs
* doc/options.txt: GUI related docs
* doc/tags: Generated at build time
* doc/todo.txt: Irrelevant for Neovim
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:f391327</title>
<updated>2016-07-08T05:38:21+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2016-06-20T03:59:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=28300a1293b17072c1c5f053a55aae2268454246'/>
<id>28300a1293b17072c1c5f053a55aae2268454246</id>
<content type='text'>
Updated runtime files.

https://github.com/vim/vim/commit/f391327adbbffb11180cf6038a92af1ed144e907

Ignore changes to
* doc/todo.txt: Irrelevant for Neovim
* doc/channel.txt: Channel docs
* doc/tags, syntax/vim.vim: Generated at build time
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated runtime files.

https://github.com/vim/vim/commit/f391327adbbffb11180cf6038a92af1ed144e907

Ignore changes to
* doc/todo.txt: Irrelevant for Neovim
* doc/channel.txt: Channel docs
* doc/tags, syntax/vim.vim: Generated at build time
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:acb4f22</title>
<updated>2016-05-26T01:05:01+00:00</updated>
<author>
<name>James McCoy</name>
<email>jamessan@jamessan.com</email>
</author>
<published>2016-05-25T20:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d693a22de3d8fd5a8359450620ebadd329fe6f73'/>
<id>d693a22de3d8fd5a8359450620ebadd329fe6f73</id>
<content type='text'>
Updated runtime files.

https://github.com/vim/vim/commit/acb4f221c715a333f4c49a2235a8006c6ac6e4d5

Ignored changes to:
* doc/eval.txt since alloc_fail isn't relevant for neovim
* doc/index.txt for unmerge :smile command
* doc/tags, syntax/vim.vim since they're generated at build time
* doc/todo.txt
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated runtime files.

https://github.com/vim/vim/commit/acb4f221c715a333f4c49a2235a8006c6ac6e4d5

Ignored changes to:
* doc/eval.txt since alloc_fail isn't relevant for neovim
* doc/index.txt for unmerge :smile command
* doc/tags, syntax/vim.vim since they're generated at build time
* doc/todo.txt
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:256972a</title>
<updated>2016-05-03T19:22:45+00:00</updated>
<author>
<name>KillTheMule</name>
<email>KillTheMule@users.noreply.github.com</email>
</author>
<published>2016-05-03T19:16:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7b29dfc43a0220cfc20d657e68eeddaa0d1d3674'/>
<id>7b29dfc43a0220cfc20d657e68eeddaa0d1d3674</id>
<content type='text'>
Updated runtime files.

https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b

Missing files in runtime/doc: todo.txt, tags. Patch to runtime/doc/syntax.txt
was applied manually in part, for no discernible reason.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated runtime files.

https://github.com/vim/vim/commit/256972a9849b5d575b62a6a71be5b6934b5b0e8b

Missing files in runtime/doc: todo.txt, tags. Patch to runtime/doc/syntax.txt
was applied manually in part, for no discernible reason.
</pre>
</div>
</content>
</entry>
</feed>
