<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/health.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>feat(health): fold successful healthchecks #22866</title>
<updated>2023-06-06T15:42:26+00:00</updated>
<author>
<name>Alexandre Teoi</name>
<email>ateoi@users.noreply.github.com</email>
</author>
<published>2023-06-06T15:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=4382d2ed564b80944345785d780cf1b19fb23ba8'/>
<id>4382d2ed564b80944345785d780cf1b19fb23ba8</id>
<content type='text'>
Problem:
checkhealth can be noisy, but we don't want to omit info.

Solution:
Fold OK results by default, if 'foldenable' is enabled.
Resolves #22796</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
checkhealth can be noisy, but we don't want to omit info.

Solution:
Fold OK results by default, if 'foldenable' is enabled.
Resolves #22796</pre>
</div>
</content>
</entry>
<entry>
<title>fix(checkhealth): fix crash due to incorrect argument type</title>
<updated>2023-04-16T10:26:13+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2023-04-16T10:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b0978fca6b82a061b345df43745c3ab860e02b58'/>
<id>b0978fca6b82a061b345df43745c3ab860e02b58</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='http://git.josher.dev/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>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='http://git.josher.dev/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>fix(checkhealth): skip vim.health #18816</title>
<updated>2022-06-01T14:10:10+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2022-06-01T14:10:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d837b6d50cbb7e90ac8f77a9e1ac2a69acae02c1'/>
<id>d837b6d50cbb7e90ac8f77a9e1ac2a69acae02c1</id>
<content type='text'>
Problem:
https://github.com/neovim/neovim/pull/18720#issuecomment-1142614996

The vim.health module is detected as a healthcheck, which produces spurious errors:

    vim: require("vim.health").check()
    ========================================================================
    - ERROR: Failed to run healthcheck for "vim" plugin. Exception:
      function health#check, line 20
      Vim(eval):E5108: Error executing lua [string "luaeval()"]:1: attempt to call field 'check' (a nil value)
      stack traceback:
      [string "luaeval()"]:1: in main chunk

Solution:
Skip vim.health when discovering healthchecks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
https://github.com/neovim/neovim/pull/18720#issuecomment-1142614996

The vim.health module is detected as a healthcheck, which produces spurious errors:

    vim: require("vim.health").check()
    ========================================================================
    - ERROR: Failed to run healthcheck for "vim" plugin. Exception:
      function health#check, line 20
      Vim(eval):E5108: Error executing lua [string "luaeval()"]:1: attempt to call field 'check' (a nil value)
      stack traceback:
      [string "luaeval()"]:1: in main chunk

Solution:
Skip vim.health when discovering healthchecks.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(checkhealth)!: rename to vim.health, move logic to Lua #18720</title>
<updated>2022-05-31T18:10:18+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2022-05-31T18:10:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e6652821bd32e4ff8d62a0b67fc2041a5f41e252'/>
<id>e6652821bd32e4ff8d62a0b67fc2041a5f41e252</id>
<content type='text'>
- Complete function:
  There was lots of unnecessary C code for the complete function, therefore
  moving it to Lua and use all the plumbing we have in place to retrieve the
  results.
- Moving the module:
  It's important we keep nvim lua modules name spaced, avoids conflict with
  plugins, luarocks, etc.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Complete function:
  There was lots of unnecessary C code for the complete function, therefore
  moving it to Lua and use all the plumbing we have in place to retrieve the
  results.
- Moving the module:
  It's important we keep nvim lua modules name spaced, avoids conflict with
  plugins, luarocks, etc.</pre>
</div>
</content>
</entry>
</feed>
