<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/lsp/rpc.lua, branch rahm</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>refactor(lsp/rpc): move transport logic to separate module</title>
<updated>2024-12-12T09:52:08+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-12-08T10:32:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=130f4344cf1a8fdafcf62b392ead863d1a1379f3'/>
<id>130f4344cf1a8fdafcf62b392ead863d1a1379f3</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): deprecate vim.lsp.start_client #31341</title>
<updated>2024-12-04T13:14:47+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2024-12-04T13:14:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e56437cd48f7df87ccdfb79812ee56241c0da0cb'/>
<id>e56437cd48f7df87ccdfb79812ee56241c0da0cb</id>
<content type='text'>
Problem:
LSP module has multiple "start" interfaces.

Solution:
- Enhance vim.lsp.start
- Deprecate vim.lsp.start_client</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
LSP module has multiple "start" interfaces.

Solution:
- Enhance vim.lsp.start
- Deprecate vim.lsp.start_client</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lsp): avoid redundant function wrapping</title>
<updated>2024-11-12T16:10:16+00:00</updated>
<author>
<name>Nicolas Hillegeer</name>
<email>nicolas@hillegeer.com</email>
</author>
<published>2024-11-12T09:51:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9aab98a275cb6140540eecbe643a7943d700b58d'/>
<id>9aab98a275cb6140540eecbe643a7943d700b58d</id>
<content type='text'>
Leftover from #21026.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Leftover from #21026.
</pre>
</div>
</content>
</entry>
<entry>
<title>perf(validate): use lighter version</title>
<updated>2024-10-17T15:53:52+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-10-16T16:03:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3f3e4837d5f7d2d9cb1c89bd3a5b2ee8a730772a'/>
<id>3f3e4837d5f7d2d9cb1c89bd3a5b2ee8a730772a</id>
<content type='text'>
- Also fix `vim.validate()` for PUC Lua when showing errors for values
  that aren't string or number.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Also fix `vim.validate()` for PUC Lua when showing errors for values
  that aren't string or number.
</pre>
</div>
</content>
</entry>
<entry>
<title>docs: improve luacats support #30580</title>
<updated>2024-10-03T10:45:51+00:00</updated>
<author>
<name>James Trew</name>
<email>66286082+jamestrew@users.noreply.github.com</email>
</author>
<published>2024-10-03T10:45:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=385fbfb3e739b457027b469782678f86eefdf7fc'/>
<id>385fbfb3e739b457027b469782678f86eefdf7fc</id>
<content type='text'>
Some composite/compound types even as basic as `(string|number)[]` are
not currently supported by the luacats LPEG grammar used by gen_vimdoc.
It would be parsed &amp; rendered as just `string|number`.

Changeset adds better support for these types.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some composite/compound types even as basic as `(string|number)[]` are
not currently supported by the luacats LPEG grammar used by gen_vimdoc.
It would be parsed &amp; rendered as just `string|number`.

Changeset adds better support for these types.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.fs): dirname() returns "." on mingw/msys2 #30480</title>
<updated>2024-09-23T13:05:58+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2024-09-23T13:05:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=47e6b2233feffc6e9d94f6086fb904eb5688fa25'/>
<id>47e6b2233feffc6e9d94f6086fb904eb5688fa25</id>
<content type='text'>
Problem:
`vim.fs.dirname([[C:\User\XXX\AppData\Local]])` returns "." on
mingw/msys2.

Solution:
- Check for "mingw" when deciding `iswin`.
- Use `has("win32")` where possible, it works in "fast" contexts since
  b02eeb6a7281df0561a021d7ae595c84be9a01be.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
`vim.fs.dirname([[C:\User\XXX\AppData\Local]])` returns "." on
mingw/msys2.

Solution:
- Check for "mingw" when deciding `iswin`.
- Use `has("win32")` where possible, it works in "fast" contexts since
  b02eeb6a7281df0561a021d7ae595c84be9a01be.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lsp): support hostname in rpc.connect #30238</title>
<updated>2024-09-03T15:10:39+00:00</updated>
<author>
<name>Tristan Knight</name>
<email>admin@snappeh.com</email>
</author>
<published>2024-09-03T15:10:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=45e76acaa053a077cab49b6606536d3f2646f033'/>
<id>45e76acaa053a077cab49b6606536d3f2646f033</id>
<content type='text'>
Updated the `rpc.connect` function to support connecting to LSP servers
using hostnames, not just IP addresses. This change includes updates to
the documentation and additional test cases to verify the new
functionality.

- Modified `connect` function to resolve hostnames.
- Updated documentation to reflect the change.
- Added test case for connecting using hostname.

Added a TCP echo server utility function to the LSP test suite. This
server echoes the first message it receives and is used in tests to
verify LSP server connections via both IP address and hostname.
Refactored existing tests to use the new utility function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated the `rpc.connect` function to support connecting to LSP servers
using hostnames, not just IP addresses. This change includes updates to
the documentation and additional test cases to verify the new
functionality.

- Modified `connect` function to resolve hostnames.
- Updated documentation to reflect the change.
- Added test case for connecting using hostname.

Added a TCP echo server utility function to the LSP test suite. This
server echoes the first message it receives and is used in tests to
verify LSP server connections via both IP address and hostname.
Refactored existing tests to use the new utility function.</pre>
</div>
</content>
</entry>
<entry>
<title>docs: vim.lsp.rpc.connect() TCP requires IP address #30219</title>
<updated>2024-09-01T22:46:01+00:00</updated>
<author>
<name>Tristan Knight</name>
<email>admin@snappeh.com</email>
</author>
<published>2024-09-01T22:46:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=bcae8be91f9fd4967f0c6f6ffabf59702253949b'/>
<id>bcae8be91f9fd4967f0c6f6ffabf59702253949b</id>
<content type='text'>
"localhost" would work if we used
[tcp_connect](https://github.com/luvit/luv/blob/ae0387742b460bc89ebddce33214ad65fffddba2/examples/echo-server-client.lua#L42),
but that will require changes to
[vim.lsp.rpc.connect](https://github.com/neovim/neovim/blob/318c0415d5b10b44fee4afa06994734f1beb7e71/runtime/lua/vim/lsp/rpc.lua#L638).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"localhost" would work if we used
[tcp_connect](https://github.com/luvit/luv/blob/ae0387742b460bc89ebddce33214ad65fffddba2/examples/echo-server-client.lua#L42),
but that will require changes to
[vim.lsp.rpc.connect](https://github.com/neovim/neovim/blob/318c0415d5b10b44fee4afa06994734f1beb7e71/runtime/lua/vim/lsp/rpc.lua#L638).</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): check for nil response from server (#29196)</title>
<updated>2024-06-14T09:02:36+00:00</updated>
<author>
<name>Tama McGlinn</name>
<email>t.mcglinn@gmail.com</email>
</author>
<published>2024-06-14T09:02:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=81b372fecd749d350fbd86be1f65146b2df97b70'/>
<id>81b372fecd749d350fbd86be1f65146b2df97b70</id>
<content type='text'>
this only changes the error message, so that it is clear that
the error is with the LSP server, rather than being a crash inside
nvim runtime scripts. We are already doing a lot of validation,
it's just that nil was being overlooked here.

This fixes issue #27395</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this only changes the error message, so that it is clear that
the error is with the LSP server, rather than being a crash inside
nvim runtime scripts. We are already doing a lot of validation,
it's just that nil was being overlooked here.

This fixes issue #27395</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): improve type annotations</title>
<updated>2024-06-11T11:45:43+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-06-11T11:05:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5e49ef0af3cb8dba658e5d0dc6a807f8edebf590'/>
<id>5e49ef0af3cb8dba658e5d0dc6a807f8edebf590</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
