<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua, 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): remove invalid buffers from cache (#16397)</title>
<updated>2021-11-22T01:40:06+00:00</updated>
<author>
<name>smolck</name>
<email>46855713+smolck@users.noreply.github.com</email>
</author>
<published>2021-11-22T01:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=04bfd20bb8dfa2cfa0ca357e3a9cea79ed47ad25'/>
<id>04bfd20bb8dfa2cfa0ca357e3a9cea79ed47ad25</id>
<content type='text'>
Errors were being caused by invalid buffers being kept around in
diagnostic_cache, so add a metatable to diagnostic_cache which attaches
to new buffers in the cache, removing them after they are invalidated.

Closes #16391.

Co-authored-by: Gregory Anders &lt;8965202+gpanders@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Errors were being caused by invalid buffers being kept around in
diagnostic_cache, so add a metatable to diagnostic_cache which attaches
to new buffers in the cache, removing them after they are invalidated.

Closes #16391.

Co-authored-by: Gregory Anders &lt;8965202+gpanders@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #16370 from gpanders/diagnostic-column-clamp</title>
<updated>2021-11-21T19:06:44+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2021-11-21T19:06:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d99d4af7b129032865cb5a4fd8e6999e73460fb0'/>
<id>d99d4af7b129032865cb5a4fd8e6999e73460fb0</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): send buffer contents joined on fileformat-specific linebreak (#16334)</title>
<updated>2021-11-21T17:03:45+00:00</updated>
<author>
<name>Dmytro Meleshko</name>
<email>dmytro.meleshko@gmail.com</email>
</author>
<published>2021-11-21T17:03:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=134a6385e2c5bd1d08027562640e07c0270cc3cd'/>
<id>134a6385e2c5bd1d08027562640e07c0270cc3cd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>chore(lsp): clean up initialization process (#16369)</title>
<updated>2021-11-21T16:39:30+00:00</updated>
<author>
<name>Michael Lingelbach</name>
<email>m.j.lbach@gmail.com</email>
</author>
<published>2021-11-21T16:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a2749482d9e73b8149ff73af6da1878a5c218fe5'/>
<id>a2749482d9e73b8149ff73af6da1878a5c218fe5</id>
<content type='text'>
* send vim.NIL instead of not sending workspaceFolders
* read fallback rootPath and rootUri from workspaceFolders
* update documentation</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* send vim.NIL instead of not sending workspaceFolders
* read fallback rootPath and rootUri from workspaceFolders
* update documentation</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): clamp line numbers in setqflist and setloclist</title>
<updated>2021-11-19T18:49:44+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2021-11-19T18:49:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5b0d8f85fdb705b07143fc4019189a9dcfe3c108'/>
<id>5b0d8f85fdb705b07143fc4019189a9dcfe3c108</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): fix navigation with diagnostics placed past end of line</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:31:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=34bb5fa5a942708c32b0e68eca02261d04e51ca6'/>
<id>34bb5fa5a942708c32b0e68eca02261d04e51ca6</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): 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>fix(uri): use valid EmmyLua annotations (#16359)</title>
<updated>2021-11-18T20:12:21+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2021-11-18T20:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d249e18bbf3454088eddf400b13b353b3ff6d91c'/>
<id>d249e18bbf3454088eddf400b13b353b3ff6d91c</id>
<content type='text'>
See:

- https://emmylua.github.io/annotations/param.html
- https://emmylua.github.io/annotations/return.html</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See:

- https://emmylua.github.io/annotations/param.html
- https://emmylua.github.io/annotations/return.html</pre>
</div>
</content>
</entry>
<entry>
<title>fix(diagnostic): don't use nil col if missing from qflist (#16357)</title>
<updated>2021-11-18T19:27:46+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2021-11-18T19:27:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5e46f649e27294ccb3688a43e6eb200aa4fe4ad3'/>
<id>5e46f649e27294ccb3688a43e6eb200aa4fe4ad3</id>
<content type='text'>
If the quickfixlist item doesn't contain a column it is reported as 0.
Rather than using a nil value in such a case (which breaks diagnostics
elsewhere), just keep the 0 value.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the quickfixlist item doesn't contain a column it is reported as 0.
Rather than using a nil value in such a case (which breaks diagnostics
elsewhere), just keep the 0 value.</pre>
</div>
</content>
</entry>
</feed>
