<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/ui, branch v0.1.7</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>ui: add tests for ui_mode_change</title>
<updated>2016-11-25T10:37:23+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2016-11-25T10:33:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=4b95bb582d9ea95455c5fab93ef31ea497957fb3'/>
<id>4b95bb582d9ea95455c5fab93ef31ea497957fb3</id>
<content type='text'>
Also fix snapshot_util() to work even if default_attr_ids is not a
proper lua array.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also fix snapshot_util() to work even if default_attr_ids is not a
proper lua array.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: Target luacheck HEAD.</title>
<updated>2016-11-16T23:55:39+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-16T23:33:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=44e6ee930fff5bf42178e5555b4a7c3467cb66c8'/>
<id>44e6ee930fff5bf42178e5555b4a7c3467cb66c8</id>
<content type='text'>
https://github.com/mpeterv/luacheck/pull/81#issuecomment-261099606

&gt; If you really want to use bleeding-edge version you should get the
&gt; rockspec from master branch, not a fixed commit ...
&gt; The correct way to install from a specific commit is cloning that
&gt; commit and running "luarocks make" from project directory. The reason
&gt; is that running "install" or "build" on an scm rockspec fetches
&gt; sources from master but uses build description from the rockspec
&gt; itself, which may be outdated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/mpeterv/luacheck/pull/81#issuecomment-261099606

&gt; If you really want to use bleeding-edge version you should get the
&gt; rockspec from master branch, not a fixed commit ...
&gt; The correct way to install from a specific commit is cloning that
&gt; commit and running "luarocks make" from project directory. The reason
&gt; is that running "install" or "build" on an scm rockspec fetches
&gt; sources from master but uses build description from the rockspec
&gt; itself, which may be outdated.
</pre>
</div>
</content>
</entry>
<entry>
<title>'inccommand': Add tests.</title>
<updated>2016-11-15T04:01:25+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-15T02:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=35231312d785e4fd1f534e573a43f5a9a4a0fe8f'/>
<id>35231312d785e4fd1f534e573a43f5a9a4a0fe8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>inccommand=nosplit: Jump to first match.</title>
<updated>2016-11-15T03:22:24+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-14T14:13:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=708617ebb6aa9f078549646930c73f0755c2c2e6'/>
<id>708617ebb6aa9f078549646930c73f0755c2c2e6</id>
<content type='text'>
Call update_topline() to adjust the current viewport.

Closes #5597
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Call update_topline() to adjust the current viewport.

Closes #5597
</pre>
</div>
</content>
</entry>
<entry>
<title>'inccommand': Simplify cursor placement logic.</title>
<updated>2016-11-11T04:45:06+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-10T17:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ae9a3d3b9984ef8bf9cec1a8738f29821951c5a5'/>
<id>ae9a3d3b9984ef8bf9cec1a8738f29821951c5a5</id>
<content type='text'>
Remove the inner for-loop; just use the column of the first in-line
match.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the inner for-loop; just use the column of the first in-line
match.
</pre>
</div>
</content>
</entry>
<entry>
<title>'inccommand': Restore cursor/view if cancelled.</title>
<updated>2016-11-10T17:09:48+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-10T14:47:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=795f2bb9b9b4de2d503e7d792bf6a3c47f92b8c5'/>
<id>795f2bb9b9b4de2d503e7d792bf6a3c47f92b8c5</id>
<content type='text'>
Restore cursor position and window "view", if command is cancelled.
This is how 'incsearch' works.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Restore cursor position and window "view", if command is cancelled.
This is how 'incsearch' works.
</pre>
</div>
</content>
</entry>
<entry>
<title>'inccommand': buftype=nofile, restore cursor/view</title>
<updated>2016-11-10T14:48:00+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-09T11:08:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=2e1217da4617c832afcd7ca90c88b06c200dc23b'/>
<id>2e1217da4617c832afcd7ca90c88b06c200dc23b</id>
<content type='text'>
- Use a standard scratch buffer instead of a new 'buftype', functions
  like curbufIsChanged() already have special handling for scratch bufs.
- Cleanup some stuff from the previous merge.
- Add support for :smagic, :snomagic. Closes #5578
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use a standard scratch buffer instead of a new 'buftype', functions
  like curbufIsChanged() already have special handling for scratch bufs.
- Cleanup some stuff from the previous merge.
- Add support for :smagic, :snomagic. Closes #5578
</pre>
</div>
</content>
</entry>
<entry>
<title>'inccommand': Preserve curbuf-&gt;b_u_newhead.</title>
<updated>2016-11-09T00:03:47+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-07T21:48:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=aa0e09d251610f9b17f0bf96a4f3485032c36e0f'/>
<id>aa0e09d251610f9b17f0bf96a4f3485032c36e0f</id>
<content type='text'>
Add tests for undotree().

Helped-by: Björn Linse &lt;bjorn.linse@gmail.com&gt;

When "curhead" points to a valid head, the value of "newhead" is
meaningless (and really should be set to null). The undo state for
a buffer is _logically_ the enum:

  enum UndoState {
    CurrentHead(head),
    NewHead(head),
    EmptyTree
  }

nvim _represents_ this as: whenever `curbuf-&gt;b_u_curhead` is nonnull it
should be used as the current head, and `curbuf-&gt;b_u_newhead` is
ignored. If the there is a current head, then this will be redoed on the
next redo, and its parent will be undone on next undo. Only if
`b_u_curhead` is NULL, `b_u_newhead` will be used as the head to undo
(and it is not possible to redo). Also both can be NULL, to indicate an
empty undotree. (To be fair, this only strictly true when calling undo.c
from the outside, in some places _within_ a function in undo.c both
values might be meaningful)

Apparently `undotree()` breaks this non-abstraction, this _cosmetic_
issue can easily be fixed by `ex_substitute` also saving and restoring
`b_u_newhead`, but is doesn't reflect any error really how
`u_undo_and_forget` manipulates the _actual_ state of the undo tree.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tests for undotree().

Helped-by: Björn Linse &lt;bjorn.linse@gmail.com&gt;

When "curhead" points to a valid head, the value of "newhead" is
meaningless (and really should be set to null). The undo state for
a buffer is _logically_ the enum:

  enum UndoState {
    CurrentHead(head),
    NewHead(head),
    EmptyTree
  }

nvim _represents_ this as: whenever `curbuf-&gt;b_u_curhead` is nonnull it
should be used as the current head, and `curbuf-&gt;b_u_newhead` is
ignored. If the there is a current head, then this will be redoed on the
next redo, and its parent will be undone on next undo. Only if
`b_u_curhead` is NULL, `b_u_newhead` will be used as the head to undo
(and it is not possible to redo). Also both can be NULL, to indicate an
empty undotree. (To be fair, this only strictly true when calling undo.c
from the outside, in some places _within_ a function in undo.c both
values might be meaningful)

Apparently `undotree()` breaks this non-abstraction, this _cosmetic_
issue can easily be fixed by `ex_substitute` also saving and restoring
`b_u_newhead`, but is doesn't reflect any error really how
`u_undo_and_forget` manipulates the _actual_ state of the undo tree.
</pre>
</div>
</content>
</entry>
<entry>
<title>'inccommand': preserve 'modified'</title>
<updated>2016-11-08T20:22:24+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-06T19:48:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=f3e8ca3bf50c5945ecfd801bf6eb49ffea5bbe0e'/>
<id>f3e8ca3bf50c5945ecfd801bf6eb49ffea5bbe0e</id>
<content type='text'>
During the live preview, the buffer-local 'modified' flag
should not be changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During the live preview, the buffer-local 'modified' flag
should not be changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>'inccommand': Do not trigger during scripts, feedkeys().</title>
<updated>2016-11-08T20:22:24+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2016-11-07T02:08:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ff6ec703d5f5b57a3c18034ba8a110ffcbf41cea'/>
<id>ff6ec703d5f5b57a3c18034ba8a110ffcbf41cea</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
