<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/lsp, branch nightly</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): deepcopy diagnostics before clamping line numbers</title>
<updated>2021-11-19T18:37:45+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-11-19T18:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2abc799ffd8b3b250f0ffce2f74a930ad3d19cf3'/>
<id>2abc799ffd8b3b250f0ffce2f74a930ad3d19cf3</id>
<content type='text'>
The current 'clamp_line_numbers' implementation modifies diagnostics in
place, which can have adverse downstream side effects. Before clamping
line numbers, make a copy of the diagnostic. This commit also merges the
'clamp_line_numbers' method into a new 'get_diagnostics' local function
which also implements the more general "get" method. The public
'vim.diagnostic.get()' API now just uses this function (without
clamping). This has the added benefit that other internal API functions
that need to use get() no longer have to go through vim.validate.

Finally, reorganize the source code a bit by grouping all of the data
structures together near the top of the file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current 'clamp_line_numbers' implementation modifies diagnostics in
place, which can have adverse downstream side effects. Before clamping
line numbers, make a copy of the diagnostic. This commit also merges the
'clamp_line_numbers' method into a new 'get_diagnostics' local function
which also implements the more general "get" method. The public
'vim.diagnostic.get()' API now just uses this function (without
clamping). This has the added benefit that other internal API functions
that need to use get() no longer have to go through vim.validate.

Finally, reorganize the source code a bit by grouping all of the data
structures together near the top of the file.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): improve incremental sync robustness (#16358)</title>
<updated>2021-11-18T21:49:46+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-18T21:49:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f71be1f87b40bf863b6cf6b4fbcebffdd3297d88'/>
<id>f71be1f87b40bf863b6cf6b4fbcebffdd3297d88</id>
<content type='text'>
closes https://github.com/neovim/neovim/issues/16352

* improve handling of multi-byte deletions</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes https://github.com/neovim/neovim/issues/16352

* improve handling of multi-byte deletions</pre>
</div>
</content>
</entry>
<entry>
<title>docs: mark tagfunc.lua methods as private</title>
<updated>2021-11-18T18:30:09+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-11-18T18:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8081a30ca8efbd23ae5f67d9756f8d0183177ee4'/>
<id>8081a30ca8efbd23ae5f67d9756f8d0183177ee4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): add tagfunc (#16103)</title>
<updated>2021-11-18T17:26:26+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-18T17:26:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f940e7a5b9919a0494fbd07e39856bd01dfbf840'/>
<id>f940e7a5b9919a0494fbd07e39856bd01dfbf840</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): change signature of buf_highlight_references (#16345)</title>
<updated>2021-11-17T20:14:45+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-17T20:14:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb3d59126eff50c64c2108e308884a722e7ee32e'/>
<id>eb3d59126eff50c64c2108e308884a722e7ee32e</id>
<content type='text'>
the prior signature did not assume an active language client
this function can now be used directly by passing an offset encoding
defaults to utf-16 (standard for LSP)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the prior signature did not assume an active language client
this function can now be used directly by passing an offset encoding
defaults to utf-16 (standard for LSP)</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): fix edge cases in incremental sync (#16308)</title>
<updated>2021-11-15T16:51:30+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-15T16:51:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=87a053f126c79f5eeb1654e35beb31d9fe733163'/>
<id>87a053f126c79f5eeb1654e35beb31d9fe733163</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): ensure buffers are re-attached on rename (#16266)</title>
<updated>2021-11-14T11:55:16+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2021-11-14T11:55:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ee3a58d42e7fce666eef570db6f2944c29303d98'/>
<id>ee3a58d42e7fce666eef570db6f2944c29303d98</id>
<content type='text'>
If a LSP server sent a workspace edit containing a rename the buffers
file name changed without the server receiving a close notification for
the old buffer and without the client properly re-attaching on the new
file.

This affected `Move` code-actions in nvim-jdtls, but also
`vim.lsp.buf.rename` on a class level.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a LSP server sent a workspace edit containing a rename the buffers
file name changed without the server receiving a close notification for
the old buffer and without the client properly re-attaching on the new
file.

This affected `Move` code-actions in nvim-jdtls, but also
`vim.lsp.buf.rename` on a class level.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): gracefully handle nil workspaceFolders (#16284)</title>
<updated>2021-11-11T09:15:59+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-11T09:15:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0ecc58c2775ae576a3325aec163aa1018aad9e0a'/>
<id>0ecc58c2775ae576a3325aec163aa1018aad9e0a</id>
<content type='text'>
* handle when workspaceFolder is nil in buf.list_workspace_folders and buf.add_workspace_folder</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* handle when workspaceFolder is nil in buf.list_workspace_folders and buf.add_workspace_folder</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): rewrite incremental sync (#16252)</title>
<updated>2021-11-09T22:37:48+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-09T22:37:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2ecf0a4c6183bba1c65d440711038f040d355fef'/>
<id>2ecf0a4c6183bba1c65d440711038f040d355fef</id>
<content type='text'>
* use codeunits/points instead of byte ranges when applicable
* take into account different file formats when computing range and
  sending text (dos, unix, and mac supported)
* add tests of incremental sync</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* use codeunits/points instead of byte ranges when applicable
* take into account different file formats when computing range and
  sending text (dos, unix, and mac supported)
* add tests of incremental sync</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): do not index nil client in progress (#16262)</title>
<updated>2021-11-09T21:05:41+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-09T21:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8f31b218f97d143d909d4b8b86dc528e70c151e3'/>
<id>8f31b218f97d143d909d4b8b86dc528e70c151e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
