<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/plugin/lsp, branch userregs_2</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(vim.lsp.inlay_hint): requesting inlay_hints even when disabled #32999</title>
<updated>2025-03-30T15:39:10+00:00</updated>
<author>
<name>Bartłomiej Maryńczak</name>
<email>marynczakbartlomiej@gmail.com</email>
</author>
<published>2025-03-30T15:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=49756ebc70dcd37eb7465f9cacd5e78803619daa'/>
<id>49756ebc70dcd37eb7465f9cacd5e78803619daa</id>
<content type='text'>
Problem:
Nvim needlessly requests inlay_hints even if they are disabled for a given buffer.

Solution:
Add the missing `enabled` check in `on_refresh`.
Rest of the code has this check already so that's the only needed one to fix this.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Nvim needlessly requests inlay_hints even if they are disabled for a given buffer.

Solution:
Add the missing `enabled` check in `on_refresh`.
Rest of the code has this check already so that's the only needed one to fix this.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #32871 from ofseed/test-lsp</title>
<updated>2025-03-17T09:11:05+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2025-03-17T09:11:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=d0cda9d6c59d88314b67f251a1c13216424aebcf'/>
<id>d0cda9d6c59d88314b67f251a1c13216424aebcf</id>
<content type='text'>
test(lsp): add some tests for LSP bugs</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test(lsp): add some tests for LSP bugs</pre>
</div>
</content>
</entry>
<entry>
<title>test(lsp): add a test for refreshing hints after being requested</title>
<updated>2025-03-17T06:44:55+00:00</updated>
<author>
<name>Yi Ming</name>
<email>ofseed@foxmail.com</email>
</author>
<published>2025-03-13T03:36:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=96e5b61be1b18159804f6d7209601f98d16f7a7d'/>
<id>96e5b61be1b18159804f6d7209601f98d16f7a7d</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 a test for resetting the active request after receiving error</title>
<updated>2025-03-17T06:44:51+00:00</updated>
<author>
<name>Yi Ming</name>
<email>ofseed@foxmail.com</email>
</author>
<published>2025-03-13T02:42:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=648b7f610162c268af18d286b69a97c5fba6836d'/>
<id>648b7f610162c268af18d286b69a97c5fba6836d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lsp)!: rename lsp.completion.trigger() to get() (#32911)</title>
<updated>2025-03-16T12:58:38+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2025-03-16T12:58:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3e3775961fd231ab7cf1e8c67bb28249f720333c'/>
<id>3e3775961fd231ab7cf1e8c67bb28249f720333c</id>
<content type='text'>
Problem: `trigger` is a custom word not yet used in APIs. 

Solution: Use `get` instead because the main effect is that the 
completion candidates will be collected (and shown by default,
but follow-up commits are planned to add an `on_result` callback
that allows more general handling).

---------

Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: `trigger` is a custom word not yet used in APIs. 

Solution: Use `get` instead because the main effect is that the 
completion candidates will be collected (and shown by default,
but follow-up commits are planned to add an `on_result` callback
that allows more general handling).

---------

Co-authored-by: Christian Clason &lt;c.clason@uni-graz.at&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>docs: misc</title>
<updated>2025-03-15T14:00:44+00:00</updated>
<author>
<name>dundargoc</name>
<email>gocdundar@gmail.com</email>
</author>
<published>2025-02-20T10:52:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=026cfa28d0dccb7f1832d6fcca378518a4082fdb'/>
<id>026cfa28d0dccb7f1832d6fcca378518a4082fdb</id>
<content type='text'>
Co-authored-by: Au. &lt;acehinnnqru@gmail.com&gt;
Co-authored-by: Daniel Rainer &lt;daniel.rainer@localhost&gt;
Co-authored-by: Evgeni Chasnovski &lt;evgeni.chasnovski@gmail.com&gt;
Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;
Co-authored-by: Luuk van Baal &lt;luukvbaal@gmail.com&gt;
Co-authored-by: Pierre Barbin &lt;pierre@heitzsystem.com&gt;
Co-authored-by: Riley Bruins &lt;ribru17@hotmail.com&gt;
Co-authored-by: Yinzuo Jiang &lt;jiangyinzuo@foxmail.com&gt;
Co-authored-by: phanium &lt;91544758+phanen@users.noreply.github.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Au. &lt;acehinnnqru@gmail.com&gt;
Co-authored-by: Daniel Rainer &lt;daniel.rainer@localhost&gt;
Co-authored-by: Evgeni Chasnovski &lt;evgeni.chasnovski@gmail.com&gt;
Co-authored-by: Lewis Russell &lt;lewis6991@gmail.com&gt;
Co-authored-by: Luuk van Baal &lt;luukvbaal@gmail.com&gt;
Co-authored-by: Pierre Barbin &lt;pierre@heitzsystem.com&gt;
Co-authored-by: Riley Bruins &lt;ribru17@hotmail.com&gt;
Co-authored-by: Yinzuo Jiang &lt;jiangyinzuo@foxmail.com&gt;
Co-authored-by: phanium &lt;91544758+phanen@users.noreply.github.com&gt;
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(snippet): set snippet keymaps permanent instead of dynamic (#31887)</title>
<updated>2025-03-14T08:51:52+00:00</updated>
<author>
<name>Mathias Fußenegger</name>
<email>mfussenegger@users.noreply.github.com</email>
</author>
<published>2025-03-14T08:51:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=123f8d229eef05869ee4c98dfd4934c22a03b1f6'/>
<id>123f8d229eef05869ee4c98dfd4934c22a03b1f6</id>
<content type='text'>
Problem:

Given that `vim.snippet.expand()` sets temporary `&lt;tab&gt;`/`&lt;s-tab&gt;`
keymaps there is no way to build "smart-tab" functionality where `&lt;tab&gt;`
chooses the next completion candidate if the popup menu is visible.

Solution:

Set the keymap permanent in `_defaults`.

The downside of this approach is that users of multiple snippet engine's
need to adapt their keymaps to handle all their engines that are in use.
For example:

    vim.keymap.set({ 'i', 's' }, "&lt;Tab&gt;", function()
      if foreign_snippet.active() then
        return "&lt;Cmd&gt;lua require('foreign_snippet').jump()&lt;CR&gt;"
      elseif vim.snippet.active({ direction = 1 }) then
        return "&lt;Cmd&gt;lua vim.snippet.jump(1)&lt;CR&gt;"
      else
        return key
      end
    end, { expr = true })

Upside is that using `vim.keymap.set` to override keymaps is a well
established pattern and `vim.snippet.expand` calls made by nvim itself
or plugins have working keymaps out of the box.


Co-authored-by: Maria José Solano &lt;majosolano99@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:

Given that `vim.snippet.expand()` sets temporary `&lt;tab&gt;`/`&lt;s-tab&gt;`
keymaps there is no way to build "smart-tab" functionality where `&lt;tab&gt;`
chooses the next completion candidate if the popup menu is visible.

Solution:

Set the keymap permanent in `_defaults`.

The downside of this approach is that users of multiple snippet engine's
need to adapt their keymaps to handle all their engines that are in use.
For example:

    vim.keymap.set({ 'i', 's' }, "&lt;Tab&gt;", function()
      if foreign_snippet.active() then
        return "&lt;Cmd&gt;lua require('foreign_snippet').jump()&lt;CR&gt;"
      elseif vim.snippet.active({ direction = 1 }) then
        return "&lt;Cmd&gt;lua vim.snippet.jump(1)&lt;CR&gt;"
      else
        return key
      end
    end, { expr = true })

Upside is that using `vim.keymap.set` to override keymaps is a well
established pattern and `vim.snippet.expand` calls made by nvim itself
or plugins have working keymaps out of the box.


Co-authored-by: Maria José Solano &lt;majosolano99@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): improve LSP floating preview window cleanup #31353</title>
<updated>2025-03-11T12:10:09+00:00</updated>
<author>
<name>glepnir</name>
<email>glephunter@gmail.com</email>
</author>
<published>2025-03-11T12:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=a14fca432b963b01ae9b47598f5d787520402810'/>
<id>a14fca432b963b01ae9b47598f5d787520402810</id>
<content type='text'>
Problem: The current implementation creates a unique autocommand group for each floating preview window, which is inefficient and can lead to numerous autocommand groups.

Solution: Use a single shared autocommand group with improved window validation to properly clean up LSP floating preview windows.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: The current implementation creates a unique autocommand group for each floating preview window, which is inefficient and can lead to numerous autocommand groups.

Solution: Use a single shared autocommand group with improved window validation to properly clean up LSP floating preview windows.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): support completion context #32793</title>
<updated>2025-03-10T16:20:27+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2025-03-10T16:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=3b0fe2659e74276e995655d1f8954b48005292e6'/>
<id>3b0fe2659e74276e995655d1f8954b48005292e6</id>
<content type='text'>
Problem:
vim.lsp.completion with "autotrigger" enabled, does not send
completion context, even though it has all the necessary info.

Solution:
Include the context for "autotrigger".
trigger() also optionally accepts context when manually invoked.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
vim.lsp.completion with "autotrigger" enabled, does not send
completion context, even though it has all the necessary info.

Solution:
Include the context for "autotrigger".
trigger() also optionally accepts context when manually invoked.</pre>
</div>
</content>
</entry>
<entry>
<title>test(lsp/utils): prevent CursorMoved closing float immediately (#32782)</title>
<updated>2025-03-08T03:50:52+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-03-08T03:50:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b2fa51bf15252cced8032f5a995ba5252840d7d0'/>
<id>b2fa51bf15252cced8032f5a995ba5252840d7d0</id>
<content type='text'>
This fixes the flakiness observed in https://github.com/neovim/neovim/actions/runs/13733258040/job/38413757162?pr=32780</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the flakiness observed in https://github.com/neovim/neovim/actions/runs/13733258040/job/38413757162?pr=32780</pre>
</div>
</content>
</entry>
</feed>
