<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/nvim, branch userreg</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>fix: checkhealth warning even if init.lua exists #25306</title>
<updated>2023-09-24T17:43:55+00:00</updated>
<author>
<name>Tom Blake</name>
<email>tjmblake@outlook.com</email>
</author>
<published>2023-09-24T17:43:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3bbb0aa3993fb8760fa693aae2133186cb61db77'/>
<id>3bbb0aa3993fb8760fa693aae2133186cb61db77</id>
<content type='text'>
Problem:
`:checkhealth nvim` warns about missing vimrc if `init.lua` exists but
`init.vim` does not.

Solution:
Check for any of: init.vim, init.lua, $MYVIMRC.
Fix #25291</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
`:checkhealth nvim` warns about missing vimrc if `init.lua` exists but
`init.vim` does not.

Solution:
Check for any of: init.vim, init.lua, $MYVIMRC.
Fix #25291</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='https://git.josher.dev/cgit/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>refactor: deprecate checkhealth functions</title>
<updated>2023-04-15T21:40:48+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-04-15T21:40:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c08b03076167837cff9eb66c19440d727e6dad31'/>
<id>c08b03076167837cff9eb66c19440d727e6dad31</id>
<content type='text'>
The following functions are deprecated and will be removed in
Nvim v0.11:

- health#report_start()
- health#report_info()
- health#report_ok()
- health#report_warn()
- health#report_error()
- vim.health.report_start()
- vim.health.report_info()
- vim.health.report_ok()
- vim.health.report_warn()
- vim.health.report_error()

Users should instead use these:

- vim.health.start()
- vim.health.info()
- vim.health.ok()
- vim.health.warn()
- vim.health.error()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following functions are deprecated and will be removed in
Nvim v0.11:

- health#report_start()
- health#report_info()
- health#report_ok()
- health#report_warn()
- health#report_error()
- vim.health.report_start()
- vim.health.report_info()
- vim.health.report_ok()
- vim.health.report_warn()
- vim.health.report_error()

Users should instead use these:

- vim.health.start()
- vim.health.info()
- vim.health.ok()
- vim.health.warn()
- vim.health.error()</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): vim.tbl_contains supports general tables and predicates (#23040)</title>
<updated>2023-04-14T08:39:57+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-04-14T08:39:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4d04feb6629cb049cb2a13ba35f0c8d3c6b67ff4'/>
<id>4d04feb6629cb049cb2a13ba35f0c8d3c6b67ff4</id>
<content type='text'>
* feat(lua): vim.tbl_contains supports general tables and predicates

Problem: `vim.tbl_contains` only works for list-like tables (integer
keys without gaps) and primitive values (in particular, not for nested
tables).

Solution: Rename `vim.tbl_contains` to `vim.list_contains` and add new
`vim.tbl_contains` that works for general tables and optionally allows
`value` to be a predicate function that is checked for every key.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* feat(lua): vim.tbl_contains supports general tables and predicates

Problem: `vim.tbl_contains` only works for list-like tables (integer
keys without gaps) and primitive values (in particular, not for nested
tables).

Solution: Rename `vim.tbl_contains` to `vim.list_contains` and add new
`vim.tbl_contains` that works for general tables and optionally allows
`value` to be a predicate function that is checked for every key.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(health): iterate using ipairs correctly (#22119)</title>
<updated>2023-02-06T04:24:00+00:00</updated>
<author>
<name>Mateusz Majewski</name>
<email>metiulekm@gmail.com</email>
</author>
<published>2023-02-06T04:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6c39edaa7e5060cedfbbf61e88f4aad20fdff73d'/>
<id>6c39edaa7e5060cedfbbf61e88f4aad20fdff73d</id>
<content type='text'>
In a few places ipairs was used to iterate over elements of the array.
However, the first return value of ipairs was erronously used, which is
not the value, but rather the index. This would result in errors, for
instance when trying to retrieve a field from the value.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a few places ipairs was used to iterate over elements of the array.
However, the first return value of ipairs was erronously used, which is
not the value, but rather the index. This would result in errors, for
instance when trying to retrieve a field from the value.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor!: remove has("debug") (#22060)</title>
<updated>2023-01-30T18:06:32+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-01-30T18:06:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=27b81af19c498892f4b0444ad29b7be842f8e7b8'/>
<id>27b81af19c498892f4b0444ad29b7be842f8e7b8</id>
<content type='text'>
This value can not be relied on as it doesn't work for
multi-configuration generators. I don't think this undocumented option
is used much, if at all, so I think we should remove it.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This value can not be relied on as it doesn't work for
multi-configuration generators. I don't think this undocumented option
is used much, if at all, so I think we should remove it.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(health): detect tmux RGB support via `client_termfeatures`</title>
<updated>2023-01-16T15:30:57+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2023-01-16T13:25:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7e24c45221b330ccf8ed3808570dab38d212ba2e'/>
<id>7e24c45221b330ccf8ed3808570dab38d212ba2e</id>
<content type='text'>
Problem: On tmux v3.2+, the `terminal-features` option may be used to enable RGB
capabilities over `terminal-overrides`. However, `show-messages` cannot be used
to detect if RGB capabilities are enabled using `terminal-features`.

Solution: Try to use `display-message -p #{client_termfeatures}` instead.
The returned features include "RGB" if either "RGB" is set in
`terminal-features`, or if "Tc" or "RGB" is set in `terminal-overrides` (as
before).
Nothing is returned by tmux versions older than v3.2, so fallback to checking
`show-messages` in that case.

Also, un-Vimscriptify the previous logic a bit, and change the error message to
point to using the `terminal-features` option instead for newer tmux versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: On tmux v3.2+, the `terminal-features` option may be used to enable RGB
capabilities over `terminal-overrides`. However, `show-messages` cannot be used
to detect if RGB capabilities are enabled using `terminal-features`.

Solution: Try to use `display-message -p #{client_termfeatures}` instead.
The returned features include "RGB" if either "RGB" is set in
`terminal-features`, or if "Tc" or "RGB" is set in `terminal-overrides` (as
before).
Nothing is returned by tmux versions older than v3.2, so fallback to checking
`show-messages` in that case.

Also, un-Vimscriptify the previous logic a bit, and change the error message to
point to using the `terminal-features` option instead for newer tmux versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(health): fix `tmux_esc_time` comparison</title>
<updated>2023-01-16T14:26:29+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2023-01-16T10:37:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=60df0c06510cc65d68a2693722577d437264f67d'/>
<id>60df0c06510cc65d68a2693722577d437264f67d</id>
<content type='text'>
Regression from the health.vim to .lua changes.

Unlike Vim script, Lua does not implicitly convert strings to numbers, so this
comparison threw an error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regression from the health.vim to .lua changes.

Unlike Vim script, Lua does not implicitly convert strings to numbers, so this
comparison threw an error.
</pre>
</div>
</content>
</entry>
<entry>
<title>health: migrate to Lua #21661</title>
<updated>2023-01-16T09:55:24+00:00</updated>
<author>
<name>TJ DeVries</name>
<email>devries.timothyj@gmail.com</email>
</author>
<published>2023-01-16T09:55:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=307efe4906de9f0b7d8611ea36bddb85493c1447'/>
<id>307efe4906de9f0b7d8611ea36bddb85493c1447</id>
<content type='text'>
* refactor: remove all vimscript from nvim/health
* fixup: previous method broke if you had a folder named 'x-lua'</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* refactor: remove all vimscript from nvim/health
* fixup: previous method broke if you had a folder named 'x-lua'</pre>
</div>
</content>
</entry>
<entry>
<title>docs: fix typos (#21427)</title>
<updated>2023-01-03T23:38:48+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-01-03T23:38:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=936e191fef9865600af211c29ea4959ffbce81dd'/>
<id>936e191fef9865600af211c29ea4959ffbce81dd</id>
<content type='text'>
Co-authored-by: Gustavo Sampaio &lt;gbritosampaio@gmail.com&gt;
Co-authored-by: C.D. MacEachern &lt;craig.daniel.maceachern@gmail.com&gt;
Co-authored-by: Sean Dewar &lt;seandewar@users.noreply.github.com&gt;
Co-authored-by: Tomas Nemec &lt;nemi@skaut.cz&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Gustavo Sampaio &lt;gbritosampaio@gmail.com&gt;
Co-authored-by: C.D. MacEachern &lt;craig.daniel.maceachern@gmail.com&gt;
Co-authored-by: Sean Dewar &lt;seandewar@users.noreply.github.com&gt;
Co-authored-by: Tomas Nemec &lt;nemi@skaut.cz&gt;</pre>
</div>
</content>
</entry>
</feed>
