<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/diagnostic.lua, branch newfeatures</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(diagnostic): allow customized diagnostic messages (#15742)</title>
<updated>2021-09-22T19:20:15+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2021-09-22T19:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d999c96cf3146d4181d5493aa5da94f738dec9d8'/>
<id>d999c96cf3146d4181d5493aa5da94f738dec9d8</id>
<content type='text'>
Provide a 'format' option for virtual text and floating window previews
that allows the displayed text of a diagnostic to be customized.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Provide a 'format' option for virtual text and floating window previews
that allows the displayed text of a diagnostic to be customized.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(diagnostic): remove get_virt_text_chunks()</title>
<updated>2021-09-22T00:54:28+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-20T21:32:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bc652f148f6bb03511e36a0d9c3e383bb22abcfa'/>
<id>bc652f148f6bb03511e36a0d9c3e383bb22abcfa</id>
<content type='text'>
This function isn't compatible with including diagnostic sources when
"source" is "if_many" since it only has access to diagnostics for a
single line. Rather than having an inconsistent or incomplete interface,
make this function private. It is still exported as part of the module
for backward compatibility with vim.lsp.diagnostics, but it can
eventually be made into a local function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function isn't compatible with including diagnostic sources when
"source" is "if_many" since it only has access to diagnostics for a
single line. Rather than having an inconsistent or incomplete interface,
make this function private. It is still exported as part of the module
for backward compatibility with vim.lsp.diagnostics, but it can
eventually be made into a local function.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(diagnostic): add option to include diagnostic source</title>
<updated>2021-09-22T00:54:26+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-18T21:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d43151ea0bb194f7463cc8762919cd38546973c2'/>
<id>d43151ea0bb194f7463cc8762919cd38546973c2</id>
<content type='text'>
Add an option to virtual text display and floating window previews to
include diagnostic source in the diagnostic message.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add an option to virtual text display and floating window previews to
include diagnostic source in the diagnostic message.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): clamp line numbers in display layer (#15729)</title>
<updated>2021-09-20T18:32:21+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-20T18:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0216aed20c9f5960506155e3d722f5ee5e807720'/>
<id>0216aed20c9f5960506155e3d722f5ee5e807720</id>
<content type='text'>
Some parts of LSP need to use cached diagnostics as sent from the LSP
server unmodified. Rather than fixing invalid line numbers when
diagnostics are first set, fix them when they are displayed to the user
(e.g. in show() or one of the get_next/get_prev family of functions).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some parts of LSP need to use cached diagnostics as sent from the LSP
server unmodified. Rather than fixing invalid line numbers when
diagnostics are first set, fix them when they are displayed to the user
(e.g. in show() or one of the get_next/get_prev family of functions).</pre>
</div>
</content>
</entry>
<entry>
<title>feat(diagnostic): match(), tolist(), fromlist() #15704</title>
<updated>2021-09-19T22:13:23+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-19T22:13:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e61ea7772e5eab2d0460dae858698f16b0ee8f27'/>
<id>e61ea7772e5eab2d0460dae858698f16b0ee8f27</id>
<content type='text'>
* feat(diagnostic): add vim.diagnostic.match()
  Provide vim.diagnostic.match() to generate a diagnostic from a string and
  a Lua pattern.
* feat(diagnostic): add tolist() and fromlist()</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* feat(diagnostic): add vim.diagnostic.match()
  Provide vim.diagnostic.match() to generate a diagnostic from a string and
  a Lua pattern.
* feat(diagnostic): add tolist() and fromlist()</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): only update decorations for loaded buffers (#15715)</title>
<updated>2021-09-18T21:01:03+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-18T21:01:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=924e8e4f2d88ee5c45e521e9f758b7c9f247a011'/>
<id>924e8e4f2d88ee5c45e521e9f758b7c9f247a011</id>
<content type='text'>
When vim.diagnostic.config() is called, the decorations for diagnostics
are re-displayed to use the new configuration. This should only be done
for loaded buffers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When vim.diagnostic.config() is called, the decorations for diagnostics
are re-displayed to use the new configuration. This should only be done
for loaded buffers.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): resolve nil bufnr in show_line_diagnostics</title>
<updated>2021-09-18T15:44:30+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-18T15:44:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ef52433847d990623be15d70ad008fe92aa544ef'/>
<id>ef52433847d990623be15d70ad008fe92aa544ef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(diagnostic): group local functions together</title>
<updated>2021-09-18T03:07:24+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-18T01:57:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=15d501ff7aa37fd507e57069b90ddab8a8eb55c5'/>
<id>15d501ff7aa37fd507e57069b90ddab8a8eb55c5</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): change default severity_sort order</title>
<updated>2021-09-17T20:59:30+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-17T20:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=938ed458e2818b7840e9c4eaf298c5a7af8d79ea'/>
<id>938ed458e2818b7840e9c4eaf298c5a7af8d79ea</id>
<content type='text'>
When severity_sort is true, higher severities should be displayed before
lower severities (e.g. ERROR is displayed over WARN).

Also improved the test case for this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When severity_sort is true, higher severities should be displayed before
lower severities (e.g. ERROR is displayed over WARN).

Also improved the test case for this.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): support severity_sort</title>
<updated>2021-09-17T16:50:25+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-17T16:50:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=32c0631183a64925d38a13819db9557f8da02738'/>
<id>32c0631183a64925d38a13819db9557f8da02738</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
