<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/api/command_spec.lua, 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>feat(api): add `unsilent` to command APIs</title>
<updated>2022-07-02T20:34:28+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-07-02T11:35:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7a907c3314f939a3d2983ac07edc5c9672957352'/>
<id>7a907c3314f939a3d2983ac07edc5c9672957352</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(nvim_create_user_command): make `smods` work with `nvim_cmd`</title>
<updated>2022-06-08T09:24:52+00:00</updated>
<author>
<name>Famiu Haque</name>
<email>famiuhaque@protonmail.com</email>
</author>
<published>2022-06-08T03:06:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=c84bd9e21fb1e5c55c9c5370b07271a6ae96f19c'/>
<id>c84bd9e21fb1e5c55c9c5370b07271a6ae96f19c</id>
<content type='text'>
Closes #18876.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #18876.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: add preview functionality to user commands</title>
<updated>2022-05-31T14:55:05+00:00</updated>
<author>
<name>Famiu Haque</name>
<email>famiuhaque@protonmail.com</email>
</author>
<published>2022-04-20T11:02:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=46536f53e82967dcac8d030ee3394cdb156f9603'/>
<id>46536f53e82967dcac8d030ee3394cdb156f9603</id>
<content type='text'>
Adds a Lua-only `preview` flag to user commands which allows the command to be incrementally previewed like `:substitute` when 'inccommand' is set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds a Lua-only `preview` flag to user commands which allows the command to be incrementally previewed like `:substitute` when 'inccommand' is set.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(nvim_create_user_command): pass structured modifiers to commands</title>
<updated>2022-05-29T04:52:30+00:00</updated>
<author>
<name>Famiu Haque</name>
<email>famiuhaque@protonmail.com</email>
</author>
<published>2022-05-29T04:42:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=9988d2f214963b3cac70026d6ad4bb058837afd9'/>
<id>9988d2f214963b3cac70026d6ad4bb058837afd9</id>
<content type='text'>
Adds an `smods` key to `nvim_create_user_command` Lua command callbacks,
which has command modifiers but in a structured format. This removes the
need to manually parse command modifiers. It also reduces friction in
using `nvim_cmd` inside a Lua command callback.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds an `smods` key to `nvim_create_user_command` Lua command callbacks,
which has command modifiers but in a structured format. This removes the
need to manually parse command modifiers. It also reduces friction in
using `nvim_cmd` inside a Lua command callback.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): correctly pass f-args for nvim_create_user_command (#18098)</title>
<updated>2022-04-13T14:04:56+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2022-04-13T14:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e463eb81465978b5de77e207af9ee1b416ca0053'/>
<id>e463eb81465978b5de77e207af9ee1b416ca0053</id>
<content type='text'>
Skip runs of whitespace and do not include `\` characters when
followed by another `\` or whitespace. This matches the behavior
of &lt;f-args&gt; when used with `:command`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skip runs of whitespace and do not include `\` characters when
followed by another `\` or whitespace. This matches the behavior
of &lt;f-args&gt; when used with `:command`.</pre>
</div>
</content>
</entry>
<entry>
<title>refactor!: rename nvim_add_user_command to nvim_create_user_command</title>
<updated>2022-04-11T02:18:41+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>greg@gpanders.com</email>
</author>
<published>2022-04-11T01:12:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f94f75dc0512def7fbfdfe100eea2dab3352d61f'/>
<id>f94f75dc0512def7fbfdfe100eea2dab3352d61f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(test): use nvim_exec in helpers.source() #16064</title>
<updated>2022-03-27T17:25:55+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2022-03-27T17:25:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=72652cbc46f568128bfc296ba63fb2d26941da8e'/>
<id>72652cbc46f568128bfc296ba63fb2d26941da8e</id>
<content type='text'>
helpers.source() was a hack to work around the lack of anonymous
:source. Its "create tempfile" behavior is not a required part of most
tests that use it.

Some tests still need the old "create tempfile" behavior either because
they test SID behavior, or because of missing nvim_exec features: #16071</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
helpers.source() was a hack to work around the lack of anonymous
:source. Its "create tempfile" behavior is not a required part of most
tests that use it.

Some tests still need the old "create tempfile" behavior either because
they test SID behavior, or because of missing nvim_exec features: #16071</pre>
</div>
</content>
</entry>
<entry>
<title>feat(lua): add &lt;f-args&gt; to user commands callback (#17522)</title>
<updated>2022-02-27T19:35:06+00:00</updated>
<author>
<name>Javier Lopez</name>
<email>graulopezjavier@gmail.com</email>
</author>
<published>2022-02-27T19:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1b5767aa3480c0cdc43f7a4b78f36a14e85a182f'/>
<id>1b5767aa3480c0cdc43f7a4b78f36a14e85a182f</id>
<content type='text'>
Works similar to ex &lt;f-args&gt;. It only splits the arguments if the
command has more than one posible argument. In cases were the command
can only have 1 argument opts.fargs = { opts.args }</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Works similar to ex &lt;f-args&gt;. It only splits the arguments if the
command has more than one posible argument. In cases were the command
can only have 1 argument opts.fargs = { opts.args }</pre>
</div>
</content>
</entry>
<entry>
<title>fix(api): validate command names in nvim_add_user_command (#17406)</title>
<updated>2022-02-15T20:08:40+00:00</updated>
<author>
<name>Gregory Anders</name>
<email>8965202+gpanders@users.noreply.github.com</email>
</author>
<published>2022-02-15T20:08:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=238b944e58d12a28245be996e69bf36a2a452a90'/>
<id>238b944e58d12a28245be996e69bf36a2a452a90</id>
<content type='text'>
This uses the same validation used when defining commands with
`:command`.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This uses the same validation used when defining commands with
`:command`.</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.3584: "verbose set efm" reports location of the :compiler command</title>
<updated>2022-01-21T10:18:18+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2022-01-21T10:18:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8e84d1b93043f33d997627f99a181159aa66434d'/>
<id>8e84d1b93043f33d997627f99a181159aa66434d</id>
<content type='text'>
Problem:    "verbose set efm" reports the location of the :compiler command.
            (Gary Johnson)
Solution:   Add the "-keepscript" argument to :command and use it when
            defining CompilerSet.
https://github.com/vim/vim/commit/58ef8a31d7087d495ab1582be5b7a22796ac2451
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    "verbose set efm" reports the location of the :compiler command.
            (Gary Johnson)
Solution:   Add the "-keepscript" argument to :command and use it when
            defining CompilerSet.
https://github.com/vim/vim/commit/58ef8a31d7087d495ab1582be5b7a22796ac2451
</pre>
</div>
</content>
</entry>
</feed>
