<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua, branch newfeatures</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>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='https://git.josher.dev/cgit/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>Merge pull request #14115 from mfussenegger/lsp-commands</title>
<updated>2021-09-22T18:42:56+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-09-22T18:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=248974a4c6f1b76f0e33cd355c5c36a80ce01fac'/>
<id>248974a4c6f1b76f0e33cd355c5c36a80ce01fac</id>
<content type='text'>
lsp: Add a registry for client side code action commands</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lsp: Add a registry for client side code action commands</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='https://git.josher.dev/cgit/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='https://git.josher.dev/cgit/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): preserve fields from LSP diagnostics via user_data (#15735)</title>
<updated>2021-09-21T22:27:12+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2021-09-21T22:27:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=17b7968f02bca309bb2e7b00752667baa6b4d765'/>
<id>17b7968f02bca309bb2e7b00752667baa6b4d765</id>
<content type='text'>
* preserve fields from LSP diagnostics via adding a user_data table to the diagnostic, which can hold arbitrary data in addition to the lsp diagnostic information.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* preserve fields from LSP diagnostics via adding a user_data table to the diagnostic, which can hold arbitrary data in addition to the lsp diagnostic information.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): update lsp-handler signature in call_hierarchy (#15738)</title>
<updated>2021-09-21T22:05:49+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2021-09-21T22:05:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8164adc1441b2150737bb7e30c59de73176d6447'/>
<id>8164adc1441b2150737bb7e30c59de73176d6447</id>
<content type='text'>
This fixes the handler signature and also prevents n+1 requests firing
if there are multiple clients.

(The first `prepareCallHierarchy` handler is called once per client,
each invocation used `buf_request` to make more requests using *all*
clients)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the handler signature and also prevents n+1 requests firing
if there are multiple clients.

(The first `prepareCallHierarchy` handler is called once per client,
each invocation used `buf_request` to make more requests using *all*
clients)</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): add a registry for client side code action commands</title>
<updated>2021-09-20T20:26:00+00:00</updated>
<author>
<name>Mathias Fussenegger</name>
<email>f.mathias@zignar.net</email>
</author>
<published>2021-03-12T09:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=6c03601e3adb4c3c4d47f148df8df20401b88677'/>
<id>6c03601e3adb4c3c4d47f148df8df20401b88677</id>
<content type='text'>
This builds on https://github.com/neovim/neovim/pull/14112 and closes
https://github.com/neovim/neovim/issues/12326
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This builds on https://github.com/neovim/neovim/pull/14112 and closes
https://github.com/neovim/neovim/issues/12326
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): include original request params in handler ctx</title>
<updated>2021-09-20T20:06:54+00:00</updated>
<author>
<name>Mathias Fussenegger</name>
<email>f.mathias@zignar.net</email>
</author>
<published>2021-03-11T22:49:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=187579fe197ddd844bc0b0979e7f53c646f4235e'/>
<id>187579fe197ddd844bc0b0979e7f53c646f4235e</id>
<content type='text'>
This is mostly motivated by https://github.com/neovim/neovim/issues/12326

Client side commands might need to access the original request
parameters.

Currently this is already possible by using closures with
`vim.lsp.buf_request`, but the global handlers so far couldn't access
the request parameters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is mostly motivated by https://github.com/neovim/neovim/issues/12326

Client side commands might need to access the original request
parameters.

Currently this is already possible by using closures with
`vim.lsp.buf_request`, but the global handlers so far couldn't access
the request parameters.
</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='https://git.josher.dev/cgit/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='https://git.josher.dev/cgit/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>
</feed>
