<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/plugin, branch master</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(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>feat(lsp): improve vim.lsp.util.apply_text_edits (#15561)</title>
<updated>2021-09-18T20:19:21+00:00</updated>
<author>
<name>hrsh7th</name>
<email>hrsh7th@gmail.com</email>
</author>
<published>2021-09-18T20:19:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=41cfba63cdbbebff728735fc754b976635767a92'/>
<id>41cfba63cdbbebff728735fc754b976635767a92</id>
<content type='text'>
- Fix the cursor position after applying TextEdits
- Support reversed range of TextEdit
- Invoke nvim_buf_set_text one by one</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Fix the cursor position after applying TextEdits
- Support reversed range of TextEdit
- Invoke nvim_buf_set_text one by one</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): remove useless highlight links (#15683)</title>
<updated>2021-09-17T06:17:54+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-17T06:17:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c13242cf471e9bac19672798798fbd6bb9a8125f'/>
<id>c13242cf471e9bac19672798798fbd6bb9a8125f</id>
<content type='text'>
These links were actually defined backwards: the highlight groups
actually being used for display are the new "Diagnostic*" groups, so
linking the old "LspDiagnostics*" groups to these does absolutely
nothing, since there is nothing actually being highlighted with the
LspDiagnostics* groups.

These links were made in an attempt to preserve backward compatibility
with existing colorschemes. We could reverse the links to maintain this
preservation, but then that disallows us from actually defining default
values for the new highlight groups.

Instead, just remove the links and be done with the old LspDiagnostics*
highlight groups.

This is not technically a breaking change: the breaking change already
happened in #15585, but this PR just makes that explicit.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These links were actually defined backwards: the highlight groups
actually being used for display are the new "Diagnostic*" groups, so
linking the old "LspDiagnostics*" groups to these does absolutely
nothing, since there is nothing actually being highlighted with the
LspDiagnostics* groups.

These links were made in an attempt to preserve backward compatibility
with existing colorschemes. We could reverse the links to maintain this
preservation, but then that disallows us from actually defining default
values for the new highlight groups.

Instead, just remove the links and be done with the old LspDiagnostics*
highlight groups.

This is not technically a breaking change: the breaking change already
happened in #15585, but this PR just makes that explicit.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lint): remove unused function from diagnostic spec</title>
<updated>2021-09-16T20:40:13+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-16T20:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=888a6ec6ce8d12bb306d7ca72ab6e3b388d3a410'/>
<id>888a6ec6ce8d12bb306d7ca72ab6e3b388d3a410</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: move vim.lsp.diagnostic to vim.diagnostic</title>
<updated>2021-09-15T20:09:47+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-09-07T02:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a5bbb932f9094098bd656d3f6be3c58344576709'/>
<id>a5bbb932f9094098bd656d3f6be3c58344576709</id>
<content type='text'>
This generalizes diagnostic handling outside of just the scope of LSP.
LSP clients are now a specific case of a diagnostic producer, but the
diagnostic subsystem is decoupled from the LSP subsystem (or will be,
eventually).

More discussion at [1].

[1]: https://github.com/neovim/neovim/pull/15585
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This generalizes diagnostic handling outside of just the scope of LSP.
LSP clients are now a specific case of a diagnostic producer, but the
diagnostic subsystem is decoupled from the LSP subsystem (or will be,
eventually).

More discussion at [1].

[1]: https://github.com/neovim/neovim/pull/15585
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): correctly parse LSP snippets #15579</title>
<updated>2021-09-14T11:31:41+00:00</updated>
<author>
<name>hrsh7th</name>
<email>hrsh7th@gmail.com</email>
</author>
<published>2021-09-14T11:31:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=516775e9d84c5eda9c1d014ff052132737361d90'/>
<id>516775e9d84c5eda9c1d014ff052132737361d90</id>
<content type='text'>
Fixes #15522</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #15522</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): support textDocument/prepareRename (#15514)</title>
<updated>2021-09-08T15:00:15+00:00</updated>
<author>
<name>Zi How Poh</name>
<email>z@pzpz.dev</email>
</author>
<published>2021-09-08T15:00:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c1f573fbc94aecd0f5841f7eb671be1a0a29758c'/>
<id>c1f573fbc94aecd0f5841f7eb671be1a0a29758c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): update workspace/applyEdit handler signature (#15573)</title>
<updated>2021-09-05T19:48:54+00:00</updated>
<author>
<name>Jose Alvarez</name>
<email>j.alvarez11@icloud.com</email>
</author>
<published>2021-09-05T19:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3f526feebfe6d7bf71380a24639a3dd908f77ff6'/>
<id>3f526feebfe6d7bf71380a24639a3dd908f77ff6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #15504 from mjlbach/feat/change-handler-signature</title>
<updated>2021-09-05T17:27:52+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-09-05T17:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=23fe6dba138859c1c22850b9ce76219141f546a0'/>
<id>23fe6dba138859c1c22850b9ce76219141f546a0</id>
<content type='text'>
feat(lsp)!: change handler signature</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
feat(lsp)!: change handler signature</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp)!: change handler signature</title>
<updated>2021-09-05T17:04:30+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-08-28T04:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=df17d7844ed7dedcb80f9405f7078a046a12524a'/>
<id>df17d7844ed7dedcb80f9405f7078a046a12524a</id>
<content type='text'>
Previously, the handler signature was:

  function(err, method, params, client_id, bufnr, config)

In order to better support external plugins that wish to extend the
protocol, there is other information which would be advantageous to
forward to the client, such as the original params of the request that
generated the callback.

In order to do this, we would need to break symmetry of the handlers, to
add an additional "params" as the 7th argument.

Instead, this PR changes the signature of the handlers to:

  function(err, result, ctx, config)

where ctx (the context) includes params, client_id, and bufnr. This also leaves
flexibility for future use-cases.

BREAKING_CHANGE: changes the signature of the built-in client handlers, requiring
updating handler calls
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the handler signature was:

  function(err, method, params, client_id, bufnr, config)

In order to better support external plugins that wish to extend the
protocol, there is other information which would be advantageous to
forward to the client, such as the original params of the request that
generated the callback.

In order to do this, we would need to break symmetry of the handlers, to
add an additional "params" as the 7th argument.

Instead, this PR changes the signature of the handlers to:

  function(err, result, ctx, config)

where ctx (the context) includes params, client_id, and bufnr. This also leaves
flexibility for future use-cases.

BREAKING_CHANGE: changes the signature of the built-in client handlers, requiring
updating handler calls
</pre>
</div>
</content>
</entry>
</feed>
