<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/plugin/lsp, branch fix_20726</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(lsp)!: vim.lsp.inlay_hint.get(), enable(), is_enabled() #25512</title>
<updated>2023-11-12T12:54:27+00:00</updated>
<author>
<name>LW</name>
<email>git@llllvvuu.dev</email>
</author>
<published>2023-11-12T12:54:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=448907f65d6709fa234d8366053e33311a01bdb9'/>
<id>448907f65d6709fa234d8366053e33311a01bdb9</id>
<content type='text'>
refactor!: `vim.lsp.inlay_hint()` -&gt; `vim.lsp.inlay_hint.enable()`

Problem:
The LSP specification allows inlay hints to include tooltips, clickable
label parts, and code actions; but Neovim provides no API to query for
these.

Solution:
Add minimal viable extension point from which plugins can query for
inlay hints in a range, in order to build functionality on top of.

Possible Next Steps
---

- Add `virt_text_idx` field to `vim.fn.getmousepos()` return value, for
  usage in mappings of `&lt;LeftMouse&gt;`, `&lt;C-LeftMouse&gt;`, etc</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
refactor!: `vim.lsp.inlay_hint()` -&gt; `vim.lsp.inlay_hint.enable()`

Problem:
The LSP specification allows inlay hints to include tooltips, clickable
label parts, and code actions; but Neovim provides no API to query for
these.

Solution:
Add minimal viable extension point from which plugins can query for
inlay hints in a range, in order to build functionality on top of.

Possible Next Steps
---

- Add `virt_text_idx` field to `vim.fn.getmousepos()` return value, for
  usage in mappings of `&lt;LeftMouse&gt;`, `&lt;C-LeftMouse&gt;`, etc</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): fix omnicomplete in middle of the line (#25787)</title>
<updated>2023-10-26T20:40:36+00:00</updated>
<author>
<name>Lajos Koszti</name>
<email>ajnasz@ajnasz.hu</email>
</author>
<published>2023-10-26T20:40:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ba6761eafe615a7f904c585dba3b7d6e98f665e1'/>
<id>ba6761eafe615a7f904c585dba3b7d6e98f665e1</id>
<content type='text'>
Fixes a regression from 5e5f5174e3faa862a9bc353aa7da41487911140b

Until that commit we had a logic like this:
`local prefix = startbyte and line:sub(startbyte + 1) or line_to_cursor:sub(word_boundary)`

The commit changed the logic and no longer cut off the line at the cursor,  resulting in a prefix that included trailing characters</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes a regression from 5e5f5174e3faa862a9bc353aa7da41487911140b

Until that commit we had a logic like this:
`local prefix = startbyte and line:sub(startbyte + 1) or line_to_cursor:sub(word_boundary)`

The commit changed the logic and no longer cut off the line at the cursor,  resulting in a prefix that included trailing characters</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): fix off-by-one error for omnifunc word boundary</title>
<updated>2023-10-23T06:26:38+00:00</updated>
<author>
<name>Mathias Fussenegger</name>
<email>f.mathias@zignar.net</email>
</author>
<published>2023-10-21T11:44:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5e5f5174e3faa862a9bc353aa7da41487911140b'/>
<id>5e5f5174e3faa862a9bc353aa7da41487911140b</id>
<content type='text'>
Fixes https://github.com/neovim/neovim/issues/25177

I initially wanted to split this into a refactor commit to make it more
testable, but it appears that already accidentally fixed the issue by
normalizing lnum/col to 0-indexing
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/neovim/neovim/issues/25177

I initially wanted to split this into a refactor commit to make it more
testable, but it appears that already accidentally fixed the issue by
normalizing lnum/col to 0-indexing
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): refactor escaping snippet text (#25611)</title>
<updated>2023-10-14T07:06:40+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2023-10-14T07:06:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ee156ca60ede95c95160cb8dff0197d40cb1a491'/>
<id>ee156ca60ede95c95160cb8dff0197d40cb1a491</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): account for border height in max floating popup height (#25539)</title>
<updated>2023-10-08T08:09:25+00:00</updated>
<author>
<name>LW</name>
<email>git@llllvvuu.dev</email>
</author>
<published>2023-10-08T08:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=9abced6ad95f6300ae80cd8b8aa124ebcf511b50'/>
<id>9abced6ad95f6300ae80cd8b8aa124ebcf511b50</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)!: replace snippet parser by lpeg grammar</title>
<updated>2023-10-02T20:21:35+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2023-10-01T16:54:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=eb1f0e8fcca756a00d287e23bf87554e0e7f6dfd'/>
<id>eb1f0e8fcca756a00d287e23bf87554e0e7f6dfd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test(lsp): add normalize_markdown tests</title>
<updated>2023-09-20T06:00:52+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2023-09-20T04:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b2265bb72c268c95180dc92c129be11fd87f995d'/>
<id>b2265bb72c268c95180dc92c129be11fd87f995d</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): improve control over placement of floating windows (#24494)</title>
<updated>2023-09-10T08:02:23+00:00</updated>
<author>
<name>Grace Petryk</name>
<email>gracepetryk99@gmail.com</email>
</author>
<published>2023-09-10T08:02:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5e3cf9fb4bc7f236c858f609ca83c57fb1779ab0'/>
<id>5e3cf9fb4bc7f236c858f609ca83c57fb1779ab0</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): only disable inlay hints / diagnostics if no other clients are connected (#24535)</title>
<updated>2023-08-31T08:00:24+00:00</updated>
<author>
<name>Chris AtLee</name>
<email>chris.atlee@shopify.com</email>
</author>
<published>2023-08-31T08:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=c235959fd909d75248c066a781475e207606c5aa'/>
<id>c235959fd909d75248c066a781475e207606c5aa</id>
<content type='text'>
This fixes the issue where the LspNotify handlers for inlay_hint /
diagnostics would end up refreshing all attached clients.

The handler would call util._refresh, which called
vim.lsp.buf_request, which calls the method on all attached clients.

Now util._refresh takes an optional client_id parameter, which is used
to specify a specific client to update.

This commit also fixes util._refresh's handling of the `only_visible`
flag. Previously if `only_visible` was false, two requests would be made
to the server: one for the visible region, and one for the entire file.

Co-authored-by: Stanislav Asunkin &lt;1353637+stasjok@users.noreply.github.com&gt;
Co-authored-by: Mathias Fußenegger &lt;mfussenegger@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the issue where the LspNotify handlers for inlay_hint /
diagnostics would end up refreshing all attached clients.

The handler would call util._refresh, which called
vim.lsp.buf_request, which calls the method on all attached clients.

Now util._refresh takes an optional client_id parameter, which is used
to specify a specific client to update.

This commit also fixes util._refresh's handling of the `only_visible`
flag. Previously if `only_visible` was false, two requests would be made
to the server: one for the visible region, and one for the entire file.

Co-authored-by: Stanislav Asunkin &lt;1353637+stasjok@users.noreply.github.com&gt;
Co-authored-by: Mathias Fußenegger &lt;mfussenegger@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>feat(highlight): Allow hyphens (-) in highlight group names (#24714)</title>
<updated>2023-08-15T14:25:51+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2023-08-15T14:25:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e72c0cd92090c1fc1e5665a060b3e1d0094d7f30'/>
<id>e72c0cd92090c1fc1e5665a060b3e1d0094d7f30</id>
<content type='text'>
Fixes: https://github.com/neovim/neovim/issues/23184</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: https://github.com/neovim/neovim/issues/23184</pre>
</div>
</content>
</entry>
</feed>
