<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/autoload, branch nightly</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>vim-patch:519cc559b08b (#16340)</title>
<updated>2021-11-17T09:02:59+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2021-11-17T09:02:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c0efe49e78eca3a17a5934cc283199122d081467'/>
<id>c0efe49e78eca3a17a5934cc283199122d081467</id>
<content type='text'>
Update runtime files
https://github.com/vim/vim/commit/519cc559b08b800edc429688aece7ad6a00d41eb</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files
https://github.com/vim/vim/commit/519cc559b08b800edc429688aece7ad6a00d41eb</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:partial 113cb513f76d (#16260)</title>
<updated>2021-11-07T23:10:44+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2021-11-07T23:10:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8cbe100fcc9c5d34b07f417a82b745803fa3ef19'/>
<id>8cbe100fcc9c5d34b07f417a82b745803fa3ef19</id>
<content type='text'>
Update runtime files
https://github.com/vim/vim/commit/113cb513f76d8866cbb6dc85fa18aded753e01da

skip doc/eval.txt
skip doc/insert.txt
skip doc/user_06.txt (needs 8.2.3562)
partial skip doc/syntax.txt (needs 8.2.3562)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files
https://github.com/vim/vim/commit/113cb513f76d8866cbb6dc85fa18aded753e01da

skip doc/eval.txt
skip doc/insert.txt
skip doc/user_06.txt (needs 8.2.3562)
partial skip doc/syntax.txt (needs 8.2.3562)</pre>
</div>
</content>
</entry>
<entry>
<title>feat(man.vim): convert spaces to underscores #16068</title>
<updated>2021-10-19T14:24:43+00:00</updated>
<author>
<name>William Chargin</name>
<email>wchargin@gmail.com</email>
</author>
<published>2021-10-19T14:24:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9fb0f12357b663fd8571010b2b8659a063af253e'/>
<id>9fb0f12357b663fd8571010b2b8659a063af253e</id>
<content type='text'>
PostgreSQL ships with man pages for SQL statements like `CREATE TABLE`,
which are provided with underscores as `man 7 CREATE_TABLE`. This patch
updates `man#open_page` (as used by `:Man`) such that visually selecting
the words `CREATE TABLE` in SQL code and pressing `K` properly opens the
desired man page.

Writing `:Man CREATE TABLE` still does not work, since `CREATE` is
interpreted as a section name. (Similarly, `:Man CREATE TABLE AS` fails
because there are too many arguments to `:Man`.) But this is okay,
because if you're typing it anyway then you can just enter underscores
and also tab-completion properly suggests `:Man CREATE_TABLE(7)`.

This is a bit bespoke, but my box has over 9000 man pages (as reported
by `man -k '' | wc -l`), and not one of them has a space in the man page
name, whereas the Postgres manuals do exist and are actually useful.

Test Plan:
On a machine with Postgres manual pages, running

    nvim -u NORC +'exe "norm iCREATE TABLE foo(x int);" | norm 0veeK'

should open the appropriate man page.

wchargin-branch: man-spaces-to-underscores</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PostgreSQL ships with man pages for SQL statements like `CREATE TABLE`,
which are provided with underscores as `man 7 CREATE_TABLE`. This patch
updates `man#open_page` (as used by `:Man`) such that visually selecting
the words `CREATE TABLE` in SQL code and pressing `K` properly opens the
desired man page.

Writing `:Man CREATE TABLE` still does not work, since `CREATE` is
interpreted as a section name. (Similarly, `:Man CREATE TABLE AS` fails
because there are too many arguments to `:Man`.) But this is okay,
because if you're typing it anyway then you can just enter underscores
and also tab-completion properly suggests `:Man CREATE_TABLE(7)`.

This is a bit bespoke, but my box has over 9000 man pages (as reported
by `man -k '' | wc -l`), and not one of them has a space in the man page
name, whereas the Postgres manuals do exist and are actually useful.

Test Plan:
On a machine with Postgres manual pages, running

    nvim -u NORC +'exe "norm iCREATE TABLE foo(x int);" | norm 0veeK'

should open the appropriate man page.

wchargin-branch: man-spaces-to-underscores</pre>
</div>
</content>
</entry>
<entry>
<title>fix(heath/provider.vim): using list as string #16007</title>
<updated>2021-10-13T03:06:19+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2021-10-13T03:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5365f241680d986a0eb3b055b36cb45960be54c1'/>
<id>5365f241680d986a0eb3b055b36cb45960be54c1</id>
<content type='text'>
Fixes #15988</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #15988</pre>
</div>
</content>
</entry>
<entry>
<title>fix(checkhealth): duplicate checks if module name has "-" #15935</title>
<updated>2021-10-09T00:36:35+00:00</updated>
<author>
<name>Jakub Łuczyński</name>
<email>doubleloop@users.noreply.github.com</email>
</author>
<published>2021-10-09T00:36:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a36c6e5df959867ff4041405f4098b7833281517'/>
<id>a36c6e5df959867ff4041405f4098b7833281517</id>
<content type='text'>
Problem:    Some plugins have structure `lua/nvim-someplugin/..`
            Since `-` is not allowed in vim function names, healthcheck names in
            lua and in vim can not have the same name (typically vim will use `_`
            instead of `-`).
Solution:   Normalize the names before checking for duplicates.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Some plugins have structure `lua/nvim-someplugin/..`
            Since `-` is not allowed in vim function names, healthcheck names in
            lua and in vim can not have the same name (typically vim will use `_`
            instead of `-`).
Solution:   Normalize the names before checking for duplicates.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(provider): compare versions as number, not string #15937</title>
<updated>2021-10-07T21:27:40+00:00</updated>
<author>
<name>Tejasvi S. Tomar</name>
<email>45873379+tejasvi@users.noreply.github.com</email>
</author>
<published>2021-10-07T21:27:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e16adbf238ee46b59b68a84af17bdee10ca49418'/>
<id>e16adbf238ee46b59b68a84af17bdee10ca49418</id>
<content type='text'>
"3.10" &lt; "3.3" but v3.10 &gt; v3.3
Fixes #14586</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"3.10" &lt; "3.3" but v3.10 &gt; v3.3
Fixes #14586</pre>
</div>
</content>
</entry>
<entry>
<title>fix(checkhealth): mitigate issues with duplicate healthchecks #15919</title>
<updated>2021-10-05T22:37:39+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2021-10-05T22:37:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=acd5e831b6294e54b12c09983bee3da89c0f183a'/>
<id>acd5e831b6294e54b12c09983bee3da89c0f183a</id>
<content type='text'>
* fix(runtime/health): mitigate issues with duplicate healthchecks
  Previously if a healthcheck was found as Lua and Vim it was executed
  both times.
  This new implementations prefers Lua, therefore if two are found It only
  runs the Lua one, this way a plugin can mantain both implementations the
  Lua one with the method `check()` and the autoload function `#check()`
  (for none HEAD nvim versions).
  **Note: This will require plugins to use `check()` as the function name,
  since the autoload function that wraps the lua implementation won't be
  called**
* docs(health): use spaces and don't overuse backtics

followup to #15259</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix(runtime/health): mitigate issues with duplicate healthchecks
  Previously if a healthcheck was found as Lua and Vim it was executed
  both times.
  This new implementations prefers Lua, therefore if two are found It only
  runs the Lua one, this way a plugin can mantain both implementations the
  Lua one with the method `check()` and the autoload function `#check()`
  (for none HEAD nvim versions).
  **Note: This will require plugins to use `check()` as the function name,
  since the autoload function that wraps the lua implementation won't be
  called**
* docs(health): use spaces and don't overuse backtics

followup to #15259</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:6e649224926b (#15911)</title>
<updated>2021-10-05T12:12:16+00:00</updated>
<author>
<name>Christian Clason</name>
<email>christian.clason@uni-due.de</email>
</author>
<published>2021-10-05T12:12:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0c2a7aa5f75502364a884eb25787d7774033f817'/>
<id>0c2a7aa5f75502364a884eb25787d7774033f817</id>
<content type='text'>
Update runtime files
https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files
https://github.com/vim/vim/commit/6e649224926bbc1df6a4fdfa7a96b4acb1f8bee0</pre>
</div>
</content>
</entry>
<entry>
<title>fix(healthcheck): update builtins to the new convention #15914</title>
<updated>2021-10-05T12:05:33+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2021-10-05T12:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0a7a215aa6bac6e5569d47a3ad5f496d64397f8e'/>
<id>0a7a215aa6bac6e5569d47a3ad5f496d64397f8e</id>
<content type='text'>
Adjust some builtin healthchecks to use Lua, after #15259</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adjust some builtin healthchecks to use Lua, after #15259</pre>
</div>
</content>
</entry>
<entry>
<title>feat(runtime/health): support lua healthchecks</title>
<updated>2021-10-04T19:28:54+00:00</updated>
<author>
<name>Javier López</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2021-08-03T20:53:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9249dcdda1bd40c291d661650df584583cac3cf4'/>
<id>9249dcdda1bd40c291d661650df584583cac3cf4</id>
<content type='text'>
- Refactor health.vim to discover lua healthcheck in the runtime
  directories lua/**/health{/init}.lua
- Support healthchecks for lua submodules e.g :checkhealth vim.lsp and
  also support wildcard "*" at the end for all submodules
  :checkhealth vim*
- Refactor health.vim to use variable scope instead of output capturing
- Create health.lua module to wrap report functions and future
  extensibility.
- Move away from searching just in the runtimepath, use
  `nvim_get_runtime_file` due to #15632

Example:
Plugin linter in rtp can declare it's checkhealts in lua module
`lua/linter/health{/init}.lua` that returns a table with a method
"check" that when executed calls the report functions provided by the
builtin lua module require("health").

The plugin also has a submodule `/lua/linter/providers` in which it
defines `/lua/linter/providers/health{/init}.lua`

This plugin healthcheck can now be run by the ex command:
  `:checkhealth linter linter.providers`

Also calling all submodules can be done by:
  `:checkhealth linter*

And "linter" and "linter.provider" would be discovered when:
  `:checkhealth`
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Refactor health.vim to discover lua healthcheck in the runtime
  directories lua/**/health{/init}.lua
- Support healthchecks for lua submodules e.g :checkhealth vim.lsp and
  also support wildcard "*" at the end for all submodules
  :checkhealth vim*
- Refactor health.vim to use variable scope instead of output capturing
- Create health.lua module to wrap report functions and future
  extensibility.
- Move away from searching just in the runtimepath, use
  `nvim_get_runtime_file` due to #15632

Example:
Plugin linter in rtp can declare it's checkhealts in lua module
`lua/linter/health{/init}.lua` that returns a table with a method
"check" that when executed calls the report functions provided by the
builtin lua module require("health").

The plugin also has a submodule `/lua/linter/providers` in which it
defines `/lua/linter/providers/health{/init}.lua`

This plugin healthcheck can now be run by the ex command:
  `:checkhealth linter linter.providers`

Also calling all submodules can be done by:
  `:checkhealth linter*

And "linter" and "linter.provider" would be discovered when:
  `:checkhealth`
</pre>
</div>
</content>
</entry>
</feed>
