<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/lua/vim/_editor.lua, branch mix</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>docs: fix typos (#19588)</title>
<updated>2022-08-03T01:47:16+00:00</updated>
<author>
<name>dundargoc</name>
<email>33953936+dundargoc@users.noreply.github.com</email>
</author>
<published>2022-08-03T01:47:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b8dcbcc732baf84fc48d6b272c3ade0bcb129b3b'/>
<id>b8dcbcc732baf84fc48d6b272c3ade0bcb129b3b</id>
<content type='text'>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: notomo &lt;notomo.motono@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: zeertzjq &lt;zeertzjq@outlook.com&gt;
Co-authored-by: notomo &lt;notomo.motono@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): allow vim.cmd to be indexed (#19238)</title>
<updated>2022-07-20T11:29:24+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-07-20T11:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=559ef3e90393a8f02c8350a9d60f4b7849815d97'/>
<id>559ef3e90393a8f02c8350a9d60f4b7849815d97</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): double entries in :lua completion #19410</title>
<updated>2022-07-17T22:40:18+00:00</updated>
<author>
<name>ii14</name>
<email>59243201+ii14@users.noreply.github.com</email>
</author>
<published>2022-07-17T22:40:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9169fb8f07238efd9fd0d0781c64c04abd1fa1ce'/>
<id>9169fb8f07238efd9fd0d0781c64c04abd1fa1ce</id>
<content type='text'>
`:lua vim.ls&lt;tab&gt;` would list `lsp` twice.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`:lua vim.ls&lt;tab&gt;` would list `lsp` twice.</pre>
</div>
</content>
</entry>
<entry>
<title>feat(defaults): mouse=nvi  #19290</title>
<updated>2022-07-17T11:14:04+00:00</updated>
<author>
<name>matveyt</name>
<email>35012635+matveyt@users.noreply.github.com</email>
</author>
<published>2022-07-17T11:14:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=eb9b93b5e025386ec9431c9d35a4a073d6946d1d'/>
<id>eb9b93b5e025386ec9431c9d35a4a073d6946d1d</id>
<content type='text'>
Problem:
Since right-click can now show a popup menu, we can provide messaging to
guide users who expect 'mouse' to be disabled by default. So 'mouse' can
now be enabled by default.

Solution:
Do it.
Closes #15521</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Since right-click can now show a popup menu, we can provide messaging to
guide users who expect 'mouse' to be disabled by default. So 'mouse' can
now be enabled by default.

Solution:
Do it.
Closes #15521</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(lua): reformat with stylua 0.14.0 (#19264)</title>
<updated>2022-07-07T16:27:18+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2022-07-07T16:27:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aa4f9c5341f5280f16cce0630ea54b84eef717b3'/>
<id>aa4f9c5341f5280f16cce0630ea54b84eef717b3</id>
<content type='text'>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reformat Lua runtime to make lint CI pass
* reduce max line length to 100</pre>
</div>
</content>
</entry>
<entry>
<title>fix(lua): highlight.on_yank can close timer in twice #18976</title>
<updated>2022-06-16T02:39:55+00:00</updated>
<author>
<name>notomo</name>
<email>notomo.motono@gmail.com</email>
</author>
<published>2022-06-16T02:39:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0e8186bdd8699fb20ad70e28813c3603f9ff0ece'/>
<id>0e8186bdd8699fb20ad70e28813c3603f9ff0ece</id>
<content type='text'>
Steps to reproduce:

1. setting `vim.highlight.on_yank`
   ```
   vim.api.nvim_create_autocmd({ "TextYankPost" }, {
     pattern = { "*" },
     callback = function()
       vim.highlight.on_yank({ timeout = 200 })
     end,
   })
   ```
2. repeat typing `yeye` ...
3. causes the following error.
   ```
   Error executing vim.schedule lua callback: vim/_editor.lua:0: handle 0x01e96970 is already closing
   stack traceback:
           [C]: in function 'close'
           vim/_editor.lua: in function ''
           vim/_editor.lua: in function &lt;vim/_editor.lua:0&gt;
   ```

📝 Test result before fix:

    [----------] Global test environment setup.
    [----------] Running tests from test/functional/lua/highlight_spec.lua
    [ RUN      ] vim.highlight.on_yank does not show errors even if buffer is wiped before timeout: 15.07 ms OK
    [ RUN      ] vim.highlight.on_yank does not show errors even if executed between timeout and clearing highlight: 15.07 ms ERR
    test/helpers.lua:73: Expected objects to be the same.
    Passed in:
    (string) 'Error executing vim.schedule lua callback: vim/_editor.lua:0: handle 0x02025260 is already closing
    stack traceback:
            [C]: in function 'close'
            vim/_editor.lua: in function ''
            vim/_editor.lua: in function &lt;vim/_editor.lua:0&gt;'
    Expected:
    (string) ''</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Steps to reproduce:

1. setting `vim.highlight.on_yank`
   ```
   vim.api.nvim_create_autocmd({ "TextYankPost" }, {
     pattern = { "*" },
     callback = function()
       vim.highlight.on_yank({ timeout = 200 })
     end,
   })
   ```
2. repeat typing `yeye` ...
3. causes the following error.
   ```
   Error executing vim.schedule lua callback: vim/_editor.lua:0: handle 0x01e96970 is already closing
   stack traceback:
           [C]: in function 'close'
           vim/_editor.lua: in function ''
           vim/_editor.lua: in function &lt;vim/_editor.lua:0&gt;
   ```

📝 Test result before fix:

    [----------] Global test environment setup.
    [----------] Running tests from test/functional/lua/highlight_spec.lua
    [ RUN      ] vim.highlight.on_yank does not show errors even if buffer is wiped before timeout: 15.07 ms OK
    [ RUN      ] vim.highlight.on_yank does not show errors even if executed between timeout and clearing highlight: 15.07 ms ERR
    test/helpers.lua:73: Expected objects to be the same.
    Passed in:
    (string) 'Error executing vim.schedule lua callback: vim/_editor.lua:0: handle 0x02025260 is already closing
    stack traceback:
            [C]: in function 'close'
            vim/_editor.lua: in function ''
            vim/_editor.lua: in function &lt;vim/_editor.lua:0&gt;'
    Expected:
    (string) ''</pre>
</div>
</content>
</entry>
<entry>
<title>feat(fs): add vim.fs.parents()</title>
<updated>2022-05-31T19:04:40+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-05-15T20:38:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=67cbaf58c41a3db19c5014587e72d06be9e3d58e'/>
<id>67cbaf58c41a3db19c5014587e72d06be9e3d58e</id>
<content type='text'>
vim.fs.parents() is a Lua iterator that returns the next parent
directory of the given file or directory on each iteration.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vim.fs.parents() is a Lua iterator that returns the next parent
directory of the given file or directory on each iteration.
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(checkhealth)!: rename to vim.health, move logic to Lua #18720</title>
<updated>2022-05-31T18:10:18+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2022-05-31T18:10:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e6652821bd32e4ff8d62a0b67fc2041a5f41e252'/>
<id>e6652821bd32e4ff8d62a0b67fc2041a5f41e252</id>
<content type='text'>
- Complete function:
  There was lots of unnecessary C code for the complete function, therefore
  moving it to Lua and use all the plumbing we have in place to retrieve the
  results.
- Moving the module:
  It's important we keep nvim lua modules name spaced, avoids conflict with
  plugins, luarocks, etc.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Complete function:
  There was lots of unnecessary C code for the complete function, therefore
  moving it to Lua and use all the plumbing we have in place to retrieve the
  results.
- Moving the module:
  It's important we keep nvim lua modules name spaced, avoids conflict with
  plugins, luarocks, etc.</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #18554 from kevinhwang91/perf-timerstart</title>
<updated>2022-05-17T16:59:48+00:00</updated>
<author>
<name>bfredl</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-05-17T16:59:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8a39032fddff364693f8f59db67e50988dfae225'/>
<id>8a39032fddff364693f8f59db67e50988dfae225</id>
<content type='text'>
perf(_editor): no need to stop inside vim.defer_fn</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
perf(_editor): no need to stop inside vim.defer_fn</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): add traceback to vim.deprecate #18575</title>
<updated>2022-05-16T01:07:36+00:00</updated>
<author>
<name>ii14</name>
<email>59243201+ii14@users.noreply.github.com</email>
</author>
<published>2022-05-16T01:07:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e501e4ed4ba86da12a9b4747fdc326b8366a38be'/>
<id>e501e4ed4ba86da12a9b4747fdc326b8366a38be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
