<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/lua, branch mix_20240309</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): add fswatch watchfunc backend</title>
<updated>2024-03-01T23:00:20+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-02-07T11:28:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4ff3217bbd8747d2d44680a825ac29097faf9c4b'/>
<id>4ff3217bbd8747d2d44680a825ac29097faf9c4b</id>
<content type='text'>
Problem:
  vim._watch.watchdirs has terrible performance.

Solution:
  - On linux use fswatch as a watcher backend if available.

  - Add File watcher section to health:vim.lsp. Warn if watchfunc is
    libuv-poll.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
  vim._watch.watchdirs has terrible performance.

Solution:
  - On linux use fswatch as a watcher backend if available.

  - Add File watcher section to health:vim.lsp. Warn if watchfunc is
    libuv-poll.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(watch): general tidy up</title>
<updated>2024-03-01T22:30:27+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2024-02-07T11:24:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b87505e11656163ddf0dbbc16b7d224815873964'/>
<id>b87505e11656163ddf0dbbc16b7d224815873964</id>
<content type='text'>
- Rename watch.poll to watch.watchdirs
- Unify how include and exclude is applied
- Improve type hints
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Rename watch.poll to watch.watchdirs
- Unify how include and exclude is applied
- Improve type hints
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): remove uri fragment from file paths (#27647)</title>
<updated>2024-02-28T09:50:53+00:00</updated>
<author>
<name>Ilia Choly</name>
<email>ilia.choly@gmail.com</email>
</author>
<published>2024-02-28T09:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0190771713241b10872b9e2118e16ea4e4b2d1a0'/>
<id>0190771713241b10872b9e2118e16ea4e4b2d1a0</id>
<content type='text'>
Problem: Some LSP servers return `textDocument/documentLink` responses
         containing file URIs with line/column numbers in the fragment.
         `vim.uri_to_fname` returns invalid file names for these URIs.

Solution: Remove the URI fragment from file URIs.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Some LSP servers return `textDocument/documentLink` responses
         containing file URIs with line/column numbers in the fragment.
         `vim.uri_to_fname` returns invalid file names for these URIs.

Solution: Remove the URI fragment from file URIs.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lsp): add snippet regression test (#27618)</title>
<updated>2024-02-25T10:05:37+00:00</updated>
<author>
<name>Maria José Solano</name>
<email>majosolano99@gmail.com</email>
</author>
<published>2024-02-25T10:05:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0fcbda59871ebc5fc91cac7fa430a4a93f6698c2'/>
<id>0fcbda59871ebc5fc91cac7fa430a4a93f6698c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): make highlight.on_yank use win-local highlight (#27349)</title>
<updated>2024-02-22T08:39:32+00:00</updated>
<author>
<name>altermo</name>
<email>107814000+altermo@users.noreply.github.com</email>
</author>
<published>2024-02-22T08:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=e2e63bd045491f36e12c924fddbe76b3ef884b38'/>
<id>e2e63bd045491f36e12c924fddbe76b3ef884b38</id>
<content type='text'>
Currently, highlight.on_yank() does buffer-local highlighting, this PR
makes it window scoped.

Also fix the problem that when yanking in a buffer, moving to another
buffer, and yanking before the original buffer highlight disappears, the
original buffer highlight won't disappear on timeout.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, highlight.on_yank() does buffer-local highlighting, this PR
makes it window scoped.

Also fix the problem that when yanking in a buffer, moving to another
buffer, and yanking before the original buffer highlight disappears, the
original buffer highlight won't disappear on timeout.</pre>
</div>
</content>
</entry>
<entry>
<title>fix(vim.ui.open): use explorer.exe instead of wslview #26947</title>
<updated>2024-02-20T17:14:50+00:00</updated>
<author>
<name>Vu Nhat Chuong</name>
<email>ronnyvu321@gmail.com</email>
</author>
<published>2024-02-20T17:14:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=5e4a5f1aaa15be3bc17c5e96040fd71196993937'/>
<id>5e4a5f1aaa15be3bc17c5e96040fd71196993937</id>
<content type='text'>
Problem:
`vim.ui.open` uses `wslview`, which is slow and require a package from external PPA:
https://wslutiliti.es/wslu/install.html#ubuntu

Solution:
Use `explorer.exe` instead. WSL supports it by default:
https://learn.microsoft.com/en-us/windows/wsl/filesystems#view-your-current-directory-in-windows-file-explorer</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
`vim.ui.open` uses `wslview`, which is slow and require a package from external PPA:
https://wslutiliti.es/wslu/install.html#ubuntu

Solution:
Use `explorer.exe` instead. WSL supports it by default:
https://learn.microsoft.com/en-us/windows/wsl/filesystems#view-your-current-directory-in-windows-file-explorer</pre>
</div>
</content>
</entry>
<entry>
<title>fix(eval): skip over v:lua properly (#27517)</title>
<updated>2024-02-18T11:11:44+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2024-02-18T11:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b8c34efe3399b0786a0e00012cfa3a05a4aa4654'/>
<id>b8c34efe3399b0786a0e00012cfa3a05a4aa4654</id>
<content type='text'>
Problem:  Error when parsing v:lua in a ternary expression.
Solution: Set rettv-&gt;v_type for v:lua even if not evaluating.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:  Error when parsing v:lua in a ternary expression.
Solution: Set rettv-&gt;v_type for v:lua even if not evaluating.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): use a keyset for vim.diff opts parsing</title>
<updated>2024-02-13T10:54:44+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2024-02-11T18:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=1a3a8d903e9705ce41867e1cbc629a85c7cb6252'/>
<id>1a3a8d903e9705ce41867e1cbc629a85c7cb6252</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): use Arena when converting from lua stack to API args</title>
<updated>2024-02-13T10:54:44+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2024-02-11T14:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0353dd3029f9ce31c3894530385443a90f6677ee'/>
<id>0353dd3029f9ce31c3894530385443a90f6677ee</id>
<content type='text'>
and for return value of nlua_exec/nlua_call_ref, as this uses
the same family of functions.

NB: the handling of luaref:s is a bit of a mess.
add api_luarefs_free_XX functions as a stop-gap as refactoring
luarefs is a can of worms for another PR:s.

as a minor feature/bug-fix, nvim_buf_call and nvim_win_call now preserves
arbitrary return values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and for return value of nlua_exec/nlua_call_ref, as this uses
the same family of functions.

NB: the handling of luaref:s is a bit of a mess.
add api_luarefs_free_XX functions as a stop-gap as refactoring
luarefs is a can of worms for another PR:s.

as a minor feature/bug-fix, nvim_buf_call and nvim_win_call now preserves
arbitrary return values.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(loader): remove cyclic dependency on vim.fs (when --luamod-dev)</title>
<updated>2024-02-13T10:29:22+00:00</updated>
<author>
<name>Jongwook Choi</name>
<email>wookayin@gmail.com</email>
</author>
<published>2024-02-13T02:38:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=89135cff030b06f60cd596a9ae81cd9583987517'/>
<id>89135cff030b06f60cd596a9ae81cd9583987517</id>
<content type='text'>
Problem: Loading `vim.fs` via the `vim.loader` Lua package loader will
result in a stack overflow due to a cyclic dependency. This may happen
when the `vim.fs` module isn't byte-compiled, i.e. when `--luamod-dev`
is used (#27413).

Solution: `vim.loader` depends on `vim.fs`. Therefore `vim.fs` should
be loaded in advance.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: Loading `vim.fs` via the `vim.loader` Lua package loader will
result in a stack overflow due to a cyclic dependency. This may happen
when the `vim.fs` module isn't byte-compiled, i.e. when `--luamod-dev`
is used (#27413).

Solution: `vim.loader` depends on `vim.fs`. Therefore `vim.fs` should
be loaded in advance.
</pre>
</div>
</content>
</entry>
</feed>
