<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/eval/ctx_functions_spec.lua, branch fix_repeatcmdline</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>test: reorg #15698</title>
<updated>2021-09-17T16:16:40+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2021-09-17T16:16:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d8de4eb685e35646c7d541e9a75bdc296127b7e2'/>
<id>d8de4eb685e35646c7d541e9a75bdc296127b7e2</id>
<content type='text'>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:
Subdirectories like "visual", "insert", "normal" encourage people to
separate *related* tests for no good reason.  Typically the _mode_ is
not the relevant topic of a test (and when it is, _then_ create
an appropriate describe() or it()).

Solution:
- Delete the various `test/functional/&lt;mode&gt;/` subdirectories, move
  their tests to more meaningful topics.
- Rename `…/normal/` to `…/editor/`.
  - Move or merge `…/visual/*` and `…/insert/*` tests into here where
    appropriate.
- Rename `…/eval/` to `…/vimscript/`.
  - Move `…/viml/*` into here also.

* test(reorg): insert/* =&gt; editor/mode_insert_spec.lua
* test(reorg): cmdline/* =&gt; editor/mode_cmdline_spec.lua
* test(reorg): eval core tests =&gt; eval_spec.lua</pre>
</div>
</content>
</entry>
<entry>
<title>lua: move test helper function, map and filter, to vim.shared module</title>
<updated>2020-02-18T08:43:10+00:00</updated>
<author>
<name>Hirokazu Hata</name>
<email>h.hata.ai.t@gmail.com</email>
</author>
<published>2020-02-18T08:41:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e2ed8053bf722d4d111fac7dcdb07179fdea8752'/>
<id>e2ed8053bf722d4d111fac7dcdb07179fdea8752</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Context: rename "buflist" =&gt; "bufs"</title>
<updated>2019-09-15T01:57:35+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-09-15T01:52:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ffdf8c4c1227874a62b950cc7138005b40004c6a'/>
<id>ffdf8c4c1227874a62b950cc7138005b40004c6a</id>
<content type='text'>
Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Given the other type names "jumps", "vars", etc., the name "buflist"
is somewhat unintuitive.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Eliminate expect_err</title>
<updated>2019-09-07T00:19:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-09-07T00:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7e1c9598617a140e40a0a22676c0631294617246'/>
<id>7e1c9598617a140e40a0a22676c0631294617246</id>
<content type='text'>
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
</pre>
</div>
</content>
</entry>
<entry>
<title>shada/context: fully remove jumplist duplicates #10898</title>
<updated>2019-09-03T17:18:24+00:00</updated>
<author>
<name>Abdelhakeem Osama</name>
<email>abdelhakeem.osama@hotmail.com</email>
</author>
<published>2019-09-03T17:18:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=8b8ecf44f2cda43bbd710ec22ef99439b71888cd'/>
<id>8b8ecf44f2cda43bbd710ec22ef99439b71888cd</id>
<content type='text'>
- Always load files when cleaning up jumplist.
  - For Shada: avoids writing duplicate entries, which happens when you read
    from a shada file with duplicate entries (merging the jumplist while
    writing sometimes produces duplicate entries, bug?) and then write right
    away (i.e.: without any `:jumps`, `getjumplist()`, or any jump movement,
    that is: nothing that calls `cleanup_jumplist` with `loadfiles == true`).
  - For Context: avoids non-idempotent behavior for the same reason (i.e.:
    first call to `shada_encode_jumps` does not remove duplicate entries).

- Do not set pcmark when dumping jumplist for Context.
  - Retrieving current Context shouldn't add an entry to the jumplist
    (which will be removed by a subsequent `cleanup_jumplist` anyway, i.e.:
    tail entry matching current position), just act like `getjumplist` for
    instance.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Always load files when cleaning up jumplist.
  - For Shada: avoids writing duplicate entries, which happens when you read
    from a shada file with duplicate entries (merging the jumplist while
    writing sometimes produces duplicate entries, bug?) and then write right
    away (i.e.: without any `:jumps`, `getjumplist()`, or any jump movement,
    that is: nothing that calls `cleanup_jumplist` with `loadfiles == true`).
  - For Context: avoids non-idempotent behavior for the same reason (i.e.:
    first call to `shada_encode_jumps` does not remove duplicate entries).

- Do not set pcmark when dumping jumplist for Context.
  - Retrieving current Context shouldn't add an entry to the jumplist
    (which will be removed by a subsequent `cleanup_jumplist` anyway, i.e.:
    tail entry matching current position), just act like `getjumplist` for
    instance.</pre>
</div>
</content>
</entry>
<entry>
<title>API: Context: save/restore</title>
<updated>2019-07-27T20:14:58+00:00</updated>
<author>
<name>Abdelhakeem</name>
<email>abdelhakeem.osama@hotmail.com</email>
</author>
<published>2019-07-21T19:41:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b6278bbf12dd4946095b76f47b7c2ace3f929245'/>
<id>b6278bbf12dd4946095b76f47b7c2ace3f929245</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>eval: context: add ctx-family functions</title>
<updated>2019-07-27T14:36:56+00:00</updated>
<author>
<name>Abdelhakeem</name>
<email>abdelhakeem.osama@hotmail.com</email>
</author>
<published>2019-07-10T18:41:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=691deca2e8449ec0c3b5081ed4fe6076fd820913'/>
<id>691deca2e8449ec0c3b5081ed4fe6076fd820913</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
