<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/diagnostic.lua, branch mix</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>fix(diagnostic): remove buf from cache on `BufWipeout` (#20099)</title>
<updated>2022-09-07T02:55:03+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2022-09-07T02:55:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f32fd19f1eedbd75e6a37b73f28cf8761e0e875c'/>
<id>f32fd19f1eedbd75e6a37b73f28cf8761e0e875c</id>
<content type='text'>
Doing so on `BufDelete` has issues:
  - `BufDelete` is also fired for listed buffers that are made unlisted.
  - `BufDelete` is not fired for unlisted buffers that are deleted.

This means that diagnostics will be lost for a buffer that becomes unlisted.

It also means that if an entry exists for an unlisted buffer, deleting that
buffer later will not remove its entry from the cache (and you may see "Invalid
buffer id" errors when using diagnostic functions if it was wiped).

Instead, remove a buffer from the cache if it is wiped out.
This means simply `:bd`ing a buffer will not clear its diagnostics now.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Doing so on `BufDelete` has issues:
  - `BufDelete` is also fired for listed buffers that are made unlisted.
  - `BufDelete` is not fired for unlisted buffers that are deleted.

This means that diagnostics will be lost for a buffer that becomes unlisted.

It also means that if an entry exists for an unlisted buffer, deleting that
buffer later will not remove its entry from the cache (and you may see "Invalid
buffer id" errors when using diagnostic functions if it was wiped).

Instead, remove a buffer from the cache if it is wiped out.
This means simply `:bd`ing a buffer will not clear its diagnostics now.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): clean the diagnostic cache when buffer delete (#19449)</title>
<updated>2022-08-29T17:09:14+00:00</updated>
<author>
<name>Raphael</name>
<email>glephunter@gmail.com</email>
</author>
<published>2022-08-29T17:09:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=efacb6e974fa6391bcc916749103f04fa9b9f6f7'/>
<id>efacb6e974fa6391bcc916749103f04fa9b9f6f7</id>
<content type='text'>
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Gregory Anders &lt;greg@gpanders.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>docs: fix typos (#19024)</title>
<updated>2022-07-31T08:46:38+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-07-31T08:46:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=abc087f4c65ca547cae58518b42aee82ff4a07f6'/>
<id>abc087f4c65ca547cae58518b42aee82ff4a07f6</id>
<content type='text'>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: Valery Viktorovsky &lt;viktorovsky@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: Valery Viktorovsky &lt;viktorovsky@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): move augroup define to if statement (#19406)</title>
<updated>2022-07-17T17:11:05+00:00</updated>
<author>
<name>Raphael</name>
<email>glephunter@gmail.com</email>
</author>
<published>2022-07-17T17:11:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ff35d7a4b9a9bcbd664a9dae1471d55be014f0af'/>
<id>ff35d7a4b9a9bcbd664a9dae1471d55be014f0af</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): replace vim.cmd use with API calls (#19283)</title>
<updated>2022-07-09T16:40:32+00:00</updated>
<author>
<name>Raphael</name>
<email>glephunter@gmail.com</email>
</author>
<published>2022-07-09T16:40:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6b1a8f23d7da60aa2fe53cd66760176d2f589690'/>
<id>6b1a8f23d7da60aa2fe53cd66760176d2f589690</id>
<content type='text'>
Signed-off-by: Raphael &lt;glephunter@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Raphael &lt;glephunter@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): reformat with stylua 0.14.0 (#19264)</title>
<updated>2022-07-07T16:27:18+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-07-07T16:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aa4f9c5341f5280f16cce0630ea54b84eef717b3'/>
<id>aa4f9c5341f5280f16cce0630ea54b84eef717b3</id>
<content type='text'>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): check for negative column value (#18868)</title>
<updated>2022-06-08T18:55:39+00:00</updated>
<author>
<name>mohsen</name>
<email>36933074+smoka7@users.noreply.github.com</email>
</author>
<published>2022-06-08T18:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=94181ad7dcb75e1e188164276696434e03302a21'/>
<id>94181ad7dcb75e1e188164276696434e03302a21</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: format runtime with stylua</title>
<updated>2022-05-09T14:31:55+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-05-09T09:23:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aefdc6783cb77f09786542c90901a9e7120bea42'/>
<id>aefdc6783cb77f09786542c90901a9e7120bea42</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): use nvim_exec_autocmds to trigger DiagnosticChanged (#18188)</title>
<updated>2022-04-20T14:16:47+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2022-04-20T14:16:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=6b0d3ae6a83cb0410c16532a367ed8ad9bd093a8'/>
<id>6b0d3ae6a83cb0410c16532a367ed8ad9bd093a8</id>
<content type='text'>
Use nvim_exec_autocmds to issue the DiagnosticChanged autocommand,
rather than nvim_buf_call, which has some side effects when drawing
statuslines.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use nvim_exec_autocmds to issue the DiagnosticChanged autocommand,
rather than nvim_buf_call, which has some side effects when drawing
statuslines.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): make `open_float` respect global diagnostic options (#17879)</title>
<updated>2022-03-27T14:10:03+00:00</updated>
<author>
<name>Smitesh Patil</name>
<email>smiteshpatil2010@gmail.com</email>
</author>
<published>2022-03-27T14:10:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=a8e2c45b9462b740f22305397342b96586b88681'/>
<id>a8e2c45b9462b740f22305397342b96586b88681</id>
<content type='text'>
* make `open_float` respect `scope` option set in `vim.diagnostic.config`
* Closes #17878</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* make `open_float` respect `scope` option set in `vim.diagnostic.config`
* Closes #17878</pre>
</div>
</content>
</entry>
</feed>
