<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/api/command.c, branch tmp</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>fix(api): nvim_exec and nvim_cmd restore msg_col when capturing output (#19789)</title>
<updated>2022-08-16T09:30:39+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-16T09:30:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=03fddfd92887bbac920d80cd9e04f28f32843f5d'/>
<id>03fddfd92887bbac920d80cd9e04f28f32843f5d</id>
<content type='text'>
This matches the code in execute_common(), preventing messages after the
API call from being printed at the wrong column.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This matches the code in execute_common(), preventing messages after the
API call from being printed at the wrong column.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: move non-symbols in ex_eval.h to ex_eval_defs.h (#19739)</title>
<updated>2022-08-12T11:16:24+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-12T11:16:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f79773a3b4b3ce5a3b37652a72b12089880f32a4'/>
<id>f79773a3b4b3ce5a3b37652a72b12089880f32a4</id>
<content type='text'>
This avoids including ex_eval.h in any other header, thus preventing
future circular includes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids including ex_eval.h in any other header, thus preventing
future circular includes.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use CLEAR_FIELD and CLEAR_POINTER macros (#19709)</title>
<updated>2022-08-11T07:44:55+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-11T07:44:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=94c317647845b92d675548a481f664a6a1808426'/>
<id>94c317647845b92d675548a481f664a6a1808426</id>
<content type='text'>
vim-patch:8.2.0559: clearing a struct is verbose

Problem:    Clearing a struct is verbose.
Solution:   Define and use CLEAR_FIELD() and CLEAR_POINTER().
https://github.com/vim/vim/commit/a80faa8930ed5a554beeb2727762538873135e83</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
vim-patch:8.2.0559: clearing a struct is verbose

Problem:    Clearing a struct is verbose.
Solution:   Define and use CLEAR_FIELD() and CLEAR_POINTER().
https://github.com/vim/vim/commit/a80faa8930ed5a554beeb2727762538873135e83</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): `vim.cmd.make` crashes when argument count isn't 1 (#19701)</title>
<updated>2022-08-10T10:37:59+00:00</updated>
<author>
<name>Famiu Haque</name>
<email>famiuhaque@protonmail.com</email>
</author>
<published>2022-08-10T10:37:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=78658ef3834baf7d202eb16a8778813e08e58412'/>
<id>78658ef3834baf7d202eb16a8778813e08e58412</id>
<content type='text'>
Closes #19696</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #19696</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1210: support for user commands is spread out (#19653)</title>
<updated>2022-08-06T09:14:37+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-08-06T09:14:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ad7064bd83aef7caadb51c988c0dcb9054624fcf'/>
<id>ad7064bd83aef7caadb51c988c0dcb9054624fcf</id>
<content type='text'>
Problem:    Support for user commands is spread out. No good reason to make
            user commands optional.
Solution:   Move user command support to usercmd.c.  Always enable the
            user_commands feature.
https://github.com/vim/vim/commit/ac9fb18020d7e8bf16d02d45fbb02cf47328aaf7</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Support for user commands is spread out. No good reason to make
            user commands optional.
Solution:   Move user command support to usercmd.c.  Always enable the
            user_commands feature.
https://github.com/vim/vim/commit/ac9fb18020d7e8bf16d02d45fbb02cf47328aaf7</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): print source locations of lua callbacks (#19597)</title>
<updated>2022-08-03T12:41:17+00:00</updated>
<author>
<name>ii14</name>
<email>59243201+ii14@users.noreply.github.com</email>
</author>
<published>2022-08-03T12:41:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3df8d9b8c56a7f0af0f7590b11831bd96ead92f1'/>
<id>3df8d9b8c56a7f0af0f7590b11831bd96ead92f1</id>
<content type='text'>
Co-authored-by: ii14 &lt;ii14@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: ii14 &lt;ii14@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>refactor(cmd): unify execute_cmd with do_one_cmd</title>
<updated>2022-08-02T09:46:14+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-07-27T14:42:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=dc2745e9eac08d4537c409a8700c37bc9d42d6de'/>
<id>dc2745e9eac08d4537c409a8700c37bc9d42d6de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: fix clang and PVS warnings (#19569)</title>
<updated>2022-07-29T06:44:18+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-29T06:44:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=02efdb4d587242122df99b347a25fd4c96b0ca97'/>
<id>02efdb4d587242122df99b347a25fd4c96b0ca97</id>
<content type='text'>
The last commit didn't actually disable V1028 because of a typo.
Fix the typo so it is actually disabled.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The last commit didn't actually disable V1028 because of a typo.
Fix the typo so it is actually disabled.</pre>
</div>
</content>
</entry>
<entry>
<title>perf(api): optimize nvim_cmd (#19513)</title>
<updated>2022-07-27T22:35:01+00:00</updated>
<author>
<name>Lewis Russell</name>
<email>lewis6991@gmail.com</email>
</author>
<published>2022-07-27T22:35:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d27e4d657bf2c3181326f8c564c8684e80442100'/>
<id>d27e4d657bf2c3181326f8c564c8684e80442100</id>
<content type='text'>
Reduce the amount of string allocations and length calculations.

With the following benchmark:

```lua
total = 0
for _ = 1, loops do
  local start = now()
  vim.api.nvim_cmd({cmd = 'let', args = {'a', '=', '1'}}, {})
  total = total + (now() - start)
end
print('nvim_cmd', total / loops)
```

```
hyperfine 'nvim --clean test.lua +source +q'
```

Before: 234.5ms
After:  173.8ms</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reduce the amount of string allocations and length calculations.

With the following benchmark:

```lua
total = 0
for _ = 1, loops do
  local start = now()
  vim.api.nvim_cmd({cmd = 'let', args = {'a', '=', '1'}}, {})
  total = total + (now() - start)
end
print('nvim_cmd', total / loops)
```

```
hyperfine 'nvim --clean test.lua +source +q'
```

Before: 234.5ms
After:  173.8ms</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): make nvim_cmd mods.silent work correctly (#19489)</title>
<updated>2022-07-25T01:43:39+00:00</updated>
<author>
<name>notomo</name>
<email>notomo.motono@gmail.com</email>
</author>
<published>2022-07-25T01:43:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=46e3e1c7280a409462cceb520fe12259b5ba9937'/>
<id>46e3e1c7280a409462cceb520fe12259b5ba9937</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
